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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
YunJ
Post Prodigy
Post Prodigy

Two charts in the same position by switching button?

Hello!

 

I'm wondering whether pbi has a function that:

I have two buttons, when clicking button1 it shows one chart, when click button2 it shows another chart in the same position.

 

Thanks

Yun

2 ACCEPTED SOLUTIONS
v-frfei-msft
Community Support
Community Support

Hi @YunJ ,

 

Bookmark should help you. I have created a sample for your reference, please check the pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

Anonymous
Not applicable

no problem, you can add attachments to an original post, I can't see a link in a reply to do that.  

 

could you mark my post as a solution so I can get credit for it? 

View solution in original post

8 REPLIES 8
Anjan_Luckyboy
New Member

Is it possible without using bookmarks? If we have slicer in case? 

v-frfei-msft
Community Support
Community Support

Hi @YunJ ,

 

Bookmark should help you. I have created a sample for your reference, please check the pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

BTW, I'm wondering how to attach a pbix file here? Thanks!

Anonymous
Not applicable

no problem, you can add attachments to an original post, I can't see a link in a reply to do that.  

 

could you mark my post as a solution so I can get credit for it? 

Thanks a lot!

Anonymous
Not applicable

Hi, you can use bookmarks, one for each chart.  

1. create 2 bookmarks, and set the options to Selected Visuals. 

2. Create 2 buttons, one for each visual.
3. Use the Selection pane in Power BI to show / hide each of the visuals. 

 - Firstly hide one visual and show the other visual, then update your first bookmark. 

 - then reverse the hidden visual and update the second bookmark

 4. Apply your bookmarks to each of your buttons. 

 

If you want the effect of a single button, then overlap the buttons and use show / hide on each button (remembering to update your bookmarks to hide each button alternately. 

 

Let me know if this helps

Thanks Danno!

Anonymous
Not applicable

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.