Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
electrobrit
Post Patron
Post Patron

Hide Chiclet slicer images based on row level security

I have a report where I'm using chiclet slicers for the Regions. If a corporate user, you can select a Region to see how that region is doing as a whole.
In this scenario, Regions contain Stores. So Region A-contains Store 1-10, Region B-Store 11-20, etc. 
I have also added row level security so if the user is from Store 2, they'll see their data from Store 2 but I was hoping the chiclets for all other regions would be hidden so all they see is Region A chiclet. Right now, they all show and if you click on another region's chiclet, obviously all visuals go blank. Rather them just be hidden.
Any thoughts on how to hide them?

1 ACCEPTED SOLUTION

I did figure this out and it took nothing fancy. All I had to do was change the behavior to HIDE on the General tab.
-this article alerted me to that https://blog.pragmaticworks.com/power-bi-custom-visuals-chiclet-slicer
You may also choose to change how the Chiclet Slicer behaves when there is not correlation between values using the Show Disabled property.

  • Inplace means it will turn grey the values that have no correlation
  • Hide means it will remove values with no correlation
  • Bottom means is will just re-sort values with no correlation.

image

View solution in original post

3 REPLIES 3
v-cherch-msft
Employee
Employee

Hi @electrobrit 

Please check if below post could help.

https://community.powerbi.com/t5/Desktop/Hide-a-chiclet-slicer-button/td-p/703611

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-cherch-msft thank you but there was no solution given in that post or in the example pbix

I did figure this out and it took nothing fancy. All I had to do was change the behavior to HIDE on the General tab.
-this article alerted me to that https://blog.pragmaticworks.com/power-bi-custom-visuals-chiclet-slicer
You may also choose to change how the Chiclet Slicer behaves when there is not correlation between values using the Show Disabled property.

  • Inplace means it will turn grey the values that have no correlation
  • Hide means it will remove values with no correlation
  • Bottom means is will just re-sort values with no correlation.

image

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.