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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
hari27pn
Frequent Visitor

I want to hide/show buttons based on dropdown slicer selection

I have my Year slicer which currently contains two years - 2023 and 2024. Now I want to create a two buttons one which would lead to 2023 Table page and other that leads to 2024 Table page using page navigation.

Now I want if the user selects 2024 from the Year dropdown slicer, then only "Go to Table - 2024" button should appear. And if user goes to 2023 using slicer, "Go to Table - 2023" Button should appear.

Is there any way to do this?

2 ACCEPTED SOLUTIONS
MattAllington
Community Champion
Community Champion

This may help you.  You won't be able to use the exact approach because you can't cover the button, but you may be able to use the same technique to make the button transparent 

 

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



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

Ritaf1983
Super User
Super User

Hi @hari27pn 
I recorded screens of some workaround and put them here :
Link to screenshots 

And sample file here:

Sample pbix 

Please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @hari27pn 
I recorded screens of some workaround and put them here :
Link to screenshots 

And sample file here:

Sample pbix 

Please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
MattAllington
Community Champion
Community Champion

This may help you.  You won't be able to use the exact approach because you can't cover the button, but you may be able to use the same technique to make the button transparent 

 

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



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.