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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Hide One slicer when no option selected

Hi all,

I got stuck in my task. I have kept two slicers in my page. First slicer will have two options (product and city) and second slicer will have options for the above slicer(if country selected second slicer lists list of countries). if no option is selected in slicer1, the second slicer is displaying all values for country and products, whereas i want to hide second slicer when no option is selected in slicer1.

 

Hope for a sooner solution.

 

Thankyou

 

 

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

You can refer to this blog: Show or Hide a Power BI Visual Based on Selection.

slicer.PNGslicer2.PNG

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Icey
Community Support
Community Support

Hi @Anonymous ,

You can refer to this blog: Show or Hide a Power BI Visual Based on Selection.

slicer.PNGslicer2.PNG

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Gordonlilj
Solution Sage
Solution Sage

Hi,

 

If I understand you correctly then one thing you could try would be to create a measure like this

HideSlicer = IF(ISFILTERED(Table[Slicer1Column]),1,0)

Then use the measure as a filter on the second slicer like below

Capture.PNG

 

This should "hide" the second slicer when no option is selected in the first

 

Anonymous
Not applicable

This is hiding the other options in slicer1

Icey
Community Support
Community Support

Hi @Anonymous ,

Please give me more details such as some screenshots.

 

Best Regards,

Icey 

Anonymous
Not applicable

Thankyou Gordonlilj, but this measure is not helping to hide the slicer. can you pls check in your application

The measure works for its intended use. Can you be more specific?

Anonymous
Not applicable

This is hiding the other options in slicer 1, when i select a option

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors