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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
xiumi_hou
Post Partisan
Post Partisan

One button for two function possible?

Hello... i have a visual.... i want one button to have both "Show" and "Hide" function. Is it possible? 

 

 

1 ACCEPTED SOLUTION
qqqqqwwwweeerrr
Super User
Super User

Hi @xiumi_hou 

 

If my understanding is correct you want a functionality that one button should be there which will show the visual and than hide the same visual if these are the step you can follow.
1. Create a button "Show Hide"

qqqqqwwwweeerrr_0-1704520293044.png

then create one reset button using same process as above

qqqqqwwwweeerrr_1-1704520349413.png

Step 3. You need to create bookmark for the 

qqqqqwwwweeerrr_2-1704520397944.png

Step4. Click on Reset book mark and click on eye and that it will hide the visual

qqqqqwwwweeerrr_3-1704520484758.png

then click on three dots and update the reset button. Here you have created the show hide option .

 

Step 5 you need to create the action for your both the button that can be done by this step

qqqqqwwwweeerrr_4-1704520597662.png

First click on reset button then reset bookmark and turn on its action by selecting in type boomkar and select the reset button in bookmark pane and there you have create show hide button 

If this solution solve your problem then please accpect the solution if not please provide more details related to that.
For Creating show hide button you can check this video: https://youtu.be/eaSF_8g9QxQ

Regards

 

View solution in original post

2 REPLIES 2
qqqqqwwwweeerrr
Super User
Super User

Hi @xiumi_hou 

 

If my understanding is correct you want a functionality that one button should be there which will show the visual and than hide the same visual if these are the step you can follow.
1. Create a button "Show Hide"

qqqqqwwwweeerrr_0-1704520293044.png

then create one reset button using same process as above

qqqqqwwwweeerrr_1-1704520349413.png

Step 3. You need to create bookmark for the 

qqqqqwwwweeerrr_2-1704520397944.png

Step4. Click on Reset book mark and click on eye and that it will hide the visual

qqqqqwwwweeerrr_3-1704520484758.png

then click on three dots and update the reset button. Here you have created the show hide option .

 

Step 5 you need to create the action for your both the button that can be done by this step

qqqqqwwwweeerrr_4-1704520597662.png

First click on reset button then reset bookmark and turn on its action by selecting in type boomkar and select the reset button in bookmark pane and there you have create show hide button 

If this solution solve your problem then please accpect the solution if not please provide more details related to that.
For Creating show hide button you can check this video: https://youtu.be/eaSF_8g9QxQ

Regards

 

Ritaf1983
Super User
Super User

Hi @xiumi_hou 
No.
But you can show/hide the button as well as other visuals so from the user side it will be the same button.

For more information please refer:

https://www.youtube.com/watch?v=JvZhjJIEEh4

 

https://www.youtube.com/watch?v=QUcW8gudhLw

If this post helps, then 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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.