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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
lherbert501
Post Partisan
Post Partisan

Hide Slicer Content based on Field parameter Selection

Hi,

 

Could anybody advise if in the attached there is any way I can hide slicer 1, but only when Period is selected in Slicer 2?

 

I'm thinking you could possibly whiten the font, but didn't know if there was another way? I don't think bookmarks would work as I need the functionality of the slicer to work as a field parameter.

 

Dummy Data slicer.pbix

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@lherbert501 , You can use a measure and use that in slicer to 2 reduce the value and change the color to #FFFFFF00 

 

Remove slicer 

if(isfiltered(Slicer1[Column]), 1, 0) 

 

Check in slicer 2 the above measure is 1 

 

Also, use this measure for color 

if(isfiltered(Slicer1[Column]), "#FFFFFF00", "#000000") 

 

Also refer 
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Hi @lherbert501,
Thank you for posting your query in Microsoft Fabric Community Forum. Also, thanks to @amitchandak  for those inputs on this thread. 

Please review the Below thread, as it may provide information to help resolve your issue.
 Solved: Hide/Unhide Slicer based on another slicer values - Microsoft Fabric Community

Hope this helps if you have any queries we are  happy to assist you further.
Regards,
Community Support Team.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@lherbert501 , You can use a measure and use that in slicer to 2 reduce the value and change the color to #FFFFFF00 

 

Remove slicer 

if(isfiltered(Slicer1[Column]), 1, 0) 

 

Check in slicer 2 the above measure is 1 

 

Also, use this measure for color 

if(isfiltered(Slicer1[Column]), "#FFFFFF00", "#000000") 

 

Also refer 
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

 

I have just tried it properly and the method of hiding seems to work for a table or matrix, but when you do it against a slicer it doesnt seem to hide? It carries the latest value over on its own

 

I've attached an example

Dummy Data slicer (1).pbix

 

 

Hi @lherbert501,
Thank you for posting your query in Microsoft Fabric Community Forum. Also, thanks to @amitchandak  for those inputs on this thread. 

Please review the Below thread, as it may provide information to help resolve your issue.
 Solved: Hide/Unhide Slicer based on another slicer values - Microsoft Fabric Community

Hope this helps if you have any queries we are  happy to assist you further.
Regards,
Community Support Team.

Thankyou @amitchandak  this is very helpful

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors