Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Power BI hide/show slicer based on RLS

Hi all!

I need to hide a slicer for a specific user's group (with RLS). 

 

I've tried using the DAX measure: IF(HASONEFILTER([Slicer field]), 1, 0) and applying it on the visual level filter.

My problem: the header icons are shown on mouse hover.

 

Is there a way to hide the header icons too? Or a way to completely hide a slicer based on RLS?

 

  • Hi Anonymous , 

    You can toggle the visibility of the header icons here:



    Otherwise my advice would be that you create two seperate pages for the app. Then have two audiences in the app, one for the RLS and one for the non-rls. You can hide the irrelevant pages related to each audience of the app. 

    Hope this helps, 
    J

2 Replies

  • tex628's avatar
    tex628
    Community Champion

    Hi Anonymous , 

    You can toggle the visibility of the header icons here:



    Otherwise my advice would be that you create two seperate pages for the app. Then have two audiences in the app, one for the RLS and one for the non-rls. You can hide the irrelevant pages related to each audience of the app. 

    Hope this helps, 
    J

  • Died's avatar
    Died
    New Member

    Can you please tell me how you achieved hiding this visual/slicer for a whole group