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
amirabedhiafi
Impactful Individual
Impactful Individual

Change visual when clicking on filter in Power BI

I have the following filter : 

Activity : Salaries, Headcount, Absence

  • I want when to click on the Dept1 I show a specific visualization in the same page : a bar char to calculate the salaries
  • I want when to click on the Dept 2 I show a specific visualization in the same page: a pie chart char to calculate the headcount
  • I want when to click on the Dept 3 I show a specific visualization in the same page : a pie chart char to calculate the absence

How can I achieve this ?

 

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini
1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi,  @amirabedhiafi 

You can refer to this post to create Bookmark buttons saved with visibility of your object (by using the Selection pane).

how-to-add-button-using-bookmarks-in-power-bi/ 

Please check my sample pbix file for more details.

51png.png

Best Regards,
Community Support Team _ Eason

 

View solution in original post

12 REPLIES 12
v-easonf-msft
Community Support
Community Support

Hi,  @amirabedhiafi 

You can refer to this post to create Bookmark buttons saved with visibility of your object (by using the Selection pane).

how-to-add-button-using-bookmarks-in-power-bi/ 

Please check my sample pbix file for more details.

51png.png

Best Regards,
Community Support Team _ Eason

 

ftgpdx
Frequent Visitor

Hello, 

 

To confirm, you want each of the filter options to change a different visualization within the same page? If so, you can choose Edit Interactions. https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

 

Select your visual, then Format from the Ribbon, then Edit Interactions at the far left. An icon will then appear next to each visual. Choose None for the ones you don't want it to interact with. 

I want the filter to show the first visualization if I change the same filter the first visualization to be hidden and a second visualization to appear instead.

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

Thanks for clarifying. This will definitely have to be solved with bookmarks. I've done something similar by placing a small button over the slicer option so users think they're clicking a button when in actuality they're activating a bookmark. 

Having many bookmarks with a large dataset can have an impact on the performance?

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

That's very unlikely. Bookmarks make up a very small part of the layout file (https://www.fourmoo.com/2017/05/02/what-makes-up-a-power-bi-desktop-pbix-file/) so you'd have to have a lot before you notice any sort of performance issues. 

But if a bookmark refers to a whole page and for that page I have a large dataset to be loaded to it can lead indirectly to performance issues even if it is a very small part of the layout file.

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

A bookmark does not necessarily refer to an entire page or even the current state of the data within that page. A bookmark can save only the display settings for a handful of visuals. 

 

This might be the best video I could find on the topic: https://youtu.be/xCMqWEvSkAs?t=264

Skip ahead to 7:00 (https://youtu.be/xCMqWEvSkAs?t=420) to see exactly how to toggle the displays for only a handful of visuals. 

 

For verifying performance, it would be worth creating a copy of your report, doing the adjustments mentioned above, then running the Performance Analyzer to determind exactly how the report performs. 

ryan_mayu
Super User
Super User

@amirabedhiafi 

maybe you can try to use bookmarks or buttons to jump among three pages. 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-bookmarks

https://docs.microsoft.com/zh-cn/power-bi/create-reports/desktop-buttons





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




It is in the same page. Is it possible ?

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

@amirabedhiafi : Yes , manipulating the visuals , layout etc using bookmarks in the same page is possible. You will need to play with hide and show options.

@amirabedhiafi 

so far I don't think it's possible. I haven't reviewed the new features for several months. Let's wait for experts or community support team to provide you the definitive answer.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.