Skip to main content
Microsoft Idea

Power BI

Needs Votes

Show/Hide/Switch Visual by Button

Vote (2) Share
Sebastian Oskiewicz's profile image

Sebastian Oskiewicz on 23 Jul 2020 08:51:58

A Useful option to be able to change the visualization in a given place to antoher or hide it/show with a button.

Comments (1)
Sebastian Oskiewicz's profile image Profile Picture

Kieran Leigh on 20 Apr 2022 15:14:48

RE: Show/Hide/Switch Visual by Button

There is a workaround to create a show/hide button. Instead of using one button, there are two buttons on top of one another.


Each button is linked to a bookmark.


Bookmark 1 is the action for Button 1. Bookmark 1 hides Button 1, shows Button 2, and hides the visual.

Bookmark 2 is the action for Button 2. Bookmark 2 shows Button 1, hides Button 2, and shows the visual.


If you want to change the visual in place, then create two bookmarks, one showing just Visual 1, and one showing just Visual 2, then use a bookmark navigator (it helps to put the bookmarks in a folder) to offer the selection of visual. This can also be scaled to more visuals, but in these cases it may be worth considering extra pages instead.


It's also possible to use the navigator method for show/hide, or the two buttons method to switch a visual.


It would definitely be useful if there was a toggle type button that could switch between two bookmarks. This would be easier to maintain in the case where the user is to be shown a single button to toggle a visual on/off.