Sub topic 10
Page navigation buttons and the page navigator
This chapter assumes you can add buttons and assign actions (see "Assigning button actions"), know how the Selection pane controls visibility, and can create bookmarks. It covers the two ways to move readers between report pages: individual page navigation buttons and the page navigator visual. It also covers when to use a bookmark instead.
Two ways to move between pages
Power BI Desktop offers three mechanisms for moving a reader around a report:
| Mechanism | What it does | Best for |
|---|---|---|
| Button with the **Page navigation** action | Jumps to one fixed page | Drill-through-style links, "Back to summary", landing-page tiles |
| **Page navigator** visual | Generates one button per page automatically | A tab bar or menu across the whole report |
| Button with the **Bookmark** action | Restores a saved state, which can include a different page | Moving to a page *and* setting filters or visibility |
A page navigation button only changes the page. It does not change slicers, filters, or visual visibility, and it does not restore anything a bookmark would. If you need a specific state on arrival, use a bookmark that captures the destination page instead.
Adding a page navigation button
- On the Insert tab, choose Buttons and pick a shape, for example Blank.
- Select the button. In the Format pane, turn on Action.
- Set Type to Page navigation.
- In Destination, choose the target page.
- Optionally add Tooltip text, such as "Go to Detail page".
In Desktop, Ctrl+click a button to follow its action. In reading view and in the service, a plain click is enough.
Handling a destination that is not available
If the destination page is hidden, the button still works, which makes hidden pages a good way to build detail pages that do not appear in the tab bar. If the destination is removed or its name cannot be resolved, the button is disabled and shows the disabled state. Check the Destination field after you rename or delete pages.
Add a text label and an icon
Buttons have separate Style settings. Turn on Text to add a label, or Icon to add a built-in icon such as an arrow or home symbol. For accessibility, always fill in Alt text under General, because a button with only an icon gives a screen reader nothing to read.
The page navigator visual
The page navigator is a single visual that lists report pages as buttons. To add one, use Insert, then Buttons, then Navigator, then Page navigator.
By default it shows every visible page in the order they appear in the page tabs. Reordering pages in the tabs reorders the navigator. Because it is generated from the page list, it updates when you add, rename, or reorder pages, which removes the maintenance cost of hand-built buttons.
Controlling which pages appear
- Hidden pages do not appear by default. Hide a page by right-clicking its tab and choosing Hide page.
- In the Pages card of the Format pane, you can turn Show hidden pages on to list them.
- Under Options, you can also turn Show tooltip pages on or off, which controls whether tooltip pages are listed.
- In the same area you can change the list so that it displays only selected pages, by turning off pages you do not want.
Orientation and layout
The navigator can run horizontally (a tab bar) or vertically (a side menu). Use the Layout settings to choose orientation, spacing, and padding. Set the Visual Grid layout options if you want a grid of tiles rather than a single row.
Styling states
The navigator exposes the same states as a button, applied to every item:
- Default: how an unselected page looks.
- Hover: when the pointer is over it.
- Pressed: while it is being clicked.
- Selected: the current page. This state is what makes a navigator work as a tab bar, because it highlights where the reader is.
- Disabled: for pages the reader cannot open.
Format the Selected state with a clear fill or underline, and keep the contrast high enough to read.
Dynamic page names
The text on each item is the page's display name. To change it, rename the page. If you want a shorter label than the tab shows, rename the page itself, because the navigator has no separate label setting for page items.
Placing navigation consistently
A navigator that moves position between pages is disorienting. Two techniques help:
- Copy and paste the same visual to each page, and give it identical coordinates. In the General tab, set Position and Size with the same numbers on each page.
- Build a page template. Create one page with the navigator, header, and background, duplicate the page for each new report page, and then change the content. The navigator stays in the same position on every page.
A page navigator is always aware of its own page, so the Selected state updates correctly on each copy.
Combining navigation with bookmarks
A page navigation button gives you a page and nothing else. A frequent need is "go to the Detail page with the filter panel closed". To do that:
- Go to the Detail page and set it up as you want the reader to find it: panel hidden, default slicers.
- On the View tab, open the Bookmarks pane and add a bookmark. Name it, for example,
Go to Detail. - In Capture options, leave Current page on so the bookmark records which page is active, and decide whether Data should be included.
- On the source page, add a button, set Action to Bookmark, and choose
Go to Detail.
Applying a bookmark moves to the page that was active when the bookmark was created. This is why a bookmark is the right tool when arrival state matters.
Dynamic destinations
A button's page navigation destination can be driven by a measure through conditional formatting. In the Destination field, select the fx option and choose a field that returns the page name as text. The value must match the page's display name exactly.
The following measure assumes a disconnected 'View' table with a Level column, and report pages named Detail and Summary:
Target Page =
IF (
SELECTEDVALUE ( 'View'[Level] ) = "Detail",
"Detail",
"Summary"
)With a slicer on 'View'[Level], one button leads to Detail or Summary depending on the selection. Because the destination is text, a typo or a renamed page leaves the button without a valid target. If you rename a page, update the measure too.
Common problems
- The button does nothing in Desktop. You need to Ctrl+click it. Test in reading view or the service to confirm normal behavior.
- The navigator shows a page you meant to hide. Check that the page is hidden through its tab, and that Show hidden pages is off in the navigator settings.
- The navigator is missing a page. The page may be hidden, a tooltip page, or turned off in the navigator's page list.
- Slicers differ after navigating. Page navigation does not carry or reset slicer selections. A slicer synced across pages keeps its value, while an unsynced slicer keeps its own state on each page. Use Sync slicers for shared selections, or a bookmark with Data captured to force a state.
- A bookmark navigates to the wrong page. The bookmark captured the page that was open when you created or updated it. Select the bookmark, go to the correct page, and choose Update.
- The "Back" button leaves the report. The Back action returns to the previous page only within the report's navigation history. It is not a page navigation. It works well on drill-through pages, but it does nothing useful on a page the reader opened first.
Checking your work
Before you publish, walk through this list in reading view:
- Click every item in the navigator and confirm the Selected state matches the current page.
- Confirm the navigator sits in the same position on every page.
- Tab through the page with the keyboard and confirm each button can be reached and has alt text.
- Open the report in the service and test again, since hidden pages and the Selected state can behave differently if the page order changed.
Exercise
A report has pages Summary, Detail, and a hidden page named Notes. You add a page navigator to Summary. A colleague asks for a button on Summary that opens Detail with a "Region" slicer already set to "West" and the filter panel closed. Should you use a page navigation button, the page navigator, or a bookmark button? Explain, and say what you would capture.
Show answer
Use a bookmark button. A page navigation button and the page navigator change only the page, so neither can set a slicer value or close the panel. Create the Detail page in the desired state (Region set to West, filter panel hidden in the Selection pane), add a bookmark with Data and Display on and Current page on, then assign that bookmark to a button on Summary with the Bookmark action. The page navigator will not list Notes unless Show hidden pages is turned on.
Exercise
You add a button whose Destination is driven by a measure. After you rename the page "Summary" to "Overview", the button stops working. Why, and how do you fix it?
Show answer
The measure returns the text "Summary", and a conditional destination must match the page's display name exactly. Because no page has that name now, the button has no valid target. Edit the measure to return "Overview", or rename the page back.