Short answer: a button runs an action when clicked: go to a page, apply a bookmark, drill through, go back, open a web URL, apply or clear all slicers, or call a data function. A bookmark saves a state of the report: the filters and slicers (Data), which visuals are visible and spotlight (Display), and the page (Current page), for all visuals or selected visuals. Page navigator and bookmark navigator are ready-made rows of buttons, one per page or per bookmark, that update themselves when pages or bookmarks change.
Tabs at the bottom of a report are easy to miss. A menu of buttons at the top, a toggle between "chart" and "table", and a "Reset filters" button make a report work like an app, and readers stop getting lost.
What can a button do?
| Action | What happens |
|---|---|
| Back | returns to the previous page (made for drillthrough pages) |
| Bookmark | applies a bookmark |
| Drill through | opens a drillthrough page filtered to the reader's selection |
| Page navigation | goes to another page, no bookmark needed |
| Bookmark navigation | goes to a bookmarked state, on this or another page |
| Q&A | opens the Q&A explorer |
| Web URL | opens a web page |
| Apply all slicers, Clear all slicers | applies or clears every slicer on the page |
| Data function | calls a user data function (translytical task flows, preview) |
Buttons have states, each with its own look: Default, On hover, On press, Disabled and Loading (for data functions). Shapes and images can carry actions too, and buttons support fill images per state.
What does a bookmark save?
Create one in View, Bookmarks, Add. In its More options (...) you choose what it applies:
- Data: filter and slicer states. On: the bookmark resets filters to how they were.
- Display: which visuals are visible or hidden, and spotlight.
- Current page: on, it jumps to its page; off, it applies to whatever page is open.
- All visuals or Selected visuals: apply to every visual on the page, or only to those selected when you saved it.
For bookmarks that switch views (show the chart, hide the table), Microsoft suggests turning Data off, so switching views does not undo the reader's filters.
How do you build a chart or table toggle?
- Place a column chart and a table of the same data on top of each other.
- In the Selection pane, hide the table. Add a bookmark "Show chart" with Data off and Selected visuals for the two visuals.
- Hide the chart, show the table, add a bookmark "Show table" the same way.
- Add two buttons (or a bookmark navigator limited to a group with these two bookmarks) whose actions apply them.
The reader now switches between chart and table without losing any slicer selection.
How do you build a page menu?
Insert, Buttons, Navigator, Page navigator adds one button per page, and keeps itself in sync when pages are added, renamed or hidden. Format the selected state so the current page stands out. A bookmark navigator does the same for a group of bookmarks.
Can a button react to the data?
The button's text and its action destination can come from measures (fx). A button that leads to a detail page only when one customer is selected:
Detail Button Text =
IF (
HASONEVALUE ( Customer[Customer] ),
"See " & SELECTEDVALUE ( Customer[Customer] ) & " in detail",
"Select one customer"
)
Detail Page =
IF ( HASONEVALUE ( Customer[Customer] ), "Customer detail", "" )Use Detail Button Text for the button text and Detail Page as the Destination of a page navigation (or drillthrough) action; with an empty destination the button is disabled and shows its Disabled state.
What goes wrong?
- Bookmarks that reset filters. A view toggle with Data on throws away the reader's slicer selections; turn it off.
- Bookmarks for everything. Twenty bookmarks with hidden visuals are hard to maintain; page navigators and drillthrough often do the job without bookmarks.
- An unreadable Selection pane. Bookmarks show and hide visuals by their names in the Selection pane; "Clustered column chart 7" makes every change a guess. Name every visual.
- No way back. A drillthrough page without a Back button traps readers (Power BI adds one when you set up drillthrough; keep it).
- Buttons that look like decoration. Give hover and pressed states a visible change, so readers know it is clickable.
Where can you check this?
- Microsoft Learn: Create and configure buttons in Power BI reports
- Microsoft Learn: Create report bookmarks in Power BI
- Microsoft Learn: Create page and bookmark navigators
- Microsoft Learn: SELECTEDVALUE function (DAX)
Where do you start?
Add a page navigator at the top of every page, a Clear all slicers button next to the slicers, and bookmarks with Data off only for view toggles. Drill down and drillthrough covers the detail pages buttons often lead to.