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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
qqqqqwwwweeerrr
Super User
Super User

How to use Filter to show hide visual in power bi?

Hi Everyone,

 

Hope you are doing well!!

 

I have doubt about show hide of the visual> Here is the below image that might help the problem easily. 

qqqqqwwwweeerrr_0-1703662772917.png

If i click on Show Slaes chart it shows sales chart now if  click on Show Quanity chart and works as intended now i want something like filter innstead of button so when i select Show Sales chart in filter current chart should pop up and if i change filter as Show Quanitity Chart that that chart should pop up and hide sales chart
here is the data for the same

CategorySalesQuanityOder Month
Jeans300010Nov
Jeans21008Dec
Shirts500015Nov
Shirts450015Dec
T-Shirts600020Nov
T-Shirts800030Dec


 Thanks in Advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @qqqqqwwwweeerrr 

Based on the information you have provided, Here are my answers to your questions.

 

1. Importing the table you provided me into Power BI Desktop, the Report view page shows two Buttons named Show Sales Chart and Show Quantity Chart, and two Stacked column charts.

vyilongmsft_0-1703745050040.png

 

2. Customize two Bookmarks according to your requirements.

vyilongmsft_1-1703745119290.png

vyilongmsft_2-1703745140156.png

 

3. Just match the customized bookmark with the corresponding Button。

vyilongmsft_4-1703745223453.pngvyilongmsft_5-1703745241933.png

 

4. Ctrl + mouse click on the button to see the results you need.

vyilongmsft_6-1703745325424.png

 

 

How to Get Your Question Answered Quickly 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Yilong Zhou

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

3 REPLIES 3
Anonymous
Not applicable

Hi, @qqqqqwwwweeerrr 

Based on the information you have provided, Here are my answers to your questions.

 

1. Importing the table you provided me into Power BI Desktop, the Report view page shows two Buttons named Show Sales Chart and Show Quantity Chart, and two Stacked column charts.

vyilongmsft_0-1703745050040.png

 

2. Customize two Bookmarks according to your requirements.

vyilongmsft_1-1703745119290.png

vyilongmsft_2-1703745140156.png

 

3. Just match the customized bookmark with the corresponding Button。

vyilongmsft_4-1703745223453.pngvyilongmsft_5-1703745241933.png

 

4. Ctrl + mouse click on the button to see the results you need.

vyilongmsft_6-1703745325424.png

 

 

How to Get Your Question Answered Quickly 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Yilong Zhou

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

amitchandak
Super User
Super User

@qqqqqwwwweeerrr , I think this can be done using field parameters instead of Bookmarks and buttons

 

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Field Parameters- Conditional Formatting
: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf
Power BI Field Parameters, Keep Axis Sort intact| Always Sort on X/Categorial Axis: https://youtu.be/GfBrB6czByw

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit,
Thanks for your response,

But i belilve this will not solve my perpose, i tried but not able to do so. Can you please gave demo on that or steps that i can follow 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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