Sub topic 3
Choosing what a bookmark captures
This chapter assumes you can create a bookmark, open the Selection pane, and work with slicers and cross-filtering on a report page. Here you learn the settings that decide what a bookmark stores and what it leaves alone. Most bookmark bugs trace back to these settings.
What a bookmark stores
A bookmark saves a report state. A state is a set of settings: which filters are applied, which visuals are visible, and which page is showing. A bookmark does not copy data, and it does not freeze numbers. If the underlying data refreshes, a bookmarked view shows the new values.
A bookmark also does not save the design of your report. Moving a visual, changing its fields, or restyling it changes the report itself, and every bookmark that includes that visual shows the change. When you edit a visual, you may need to update the bookmarks that involve it.
Each bookmark has three capture options, found under the bookmark's ... menu:
- Data
- Display
- Current page
Separately, you choose whether the bookmark applies to All visuals or Selected visuals. Each setting is independent, so you can combine them in several ways.
The Data option
Data controls whether the bookmark saves the filtering state of the report. When Data is on, the bookmark stores:
- Slicer selections, including the selected values and the slicer's own state.
- Filters in the Filters pane, at the visual, page, and report level.
- Cross-filtering and cross-highlighting that came from selecting data points in a visual.
- The sort order of visuals.
- The drill location in a hierarchy, such as having drilled down from Year to Quarter.
When Data is off, applying the bookmark leaves all of those as they currently are. The user's current filters stay in place.
Turn Data off for bookmarks that only change layout, such as a show/hide panel or a chart/table toggle. If Data stays on in those bookmarks, every click on the toggle resets the user's filters to whatever they were when you saved the bookmark. Users see this as the report "forgetting" their selections.
Turn Data on for bookmarks that represent a specific analytical view, such as "2024 EMEA only". Turn it on for a reset bookmark as well, because its job is to restore filters.
The Display option
Display controls whether the bookmark saves what the report looks like. When Display is on, the bookmark stores:
- Which visuals are shown or hidden in the Selection pane.
- Spotlight on a visual.
- Focus mode on a visual.
- Whether Show as a table is turned on for a visual.
Visibility is the most important item. Every show/hide pattern in later chapters depends on hidden visuals being saved by Display.
When Display is off, applying the bookmark leaves visibility as it currently is. Use that when a bookmark should change only the filters, such as a "Last 12 months" bookmark that must not disturb a panel the user has open.
The Current page option
Current page controls where the user ends up. When it is on, applying the bookmark takes the user to the page that was showing when you saved it. When it is off, the user stays on whichever page they are viewing, and the bookmark's settings are applied to that page.
Leave it on when the bookmark represents a specific view on a specific page. Turn it off for a bookmark that is attached to a button in a panel or toolbar you copied across several pages. With the option off, the same bookmark can drive the same button on every page without sending the user back to the original page.
Be careful with this combination: Current page off and a bookmark that applies to visuals on a particular page. The bookmark cannot apply settings to visuals that are not on the page the user is viewing. The result looks like a button that does nothing. If a bookmark must change visuals on page A, either keep Current page on or create one bookmark per page.
All visuals or Selected visuals
By default, a bookmark applies to All visuals on the page. Every visual's state is saved, and applying the bookmark restores every visual's state.
Choosing Selected visuals narrows the bookmark to the visuals you selected in the Selection pane when you saved or updated it. Everything else on the page is left alone. Selected visuals matters in two situations:
- A panel that must not disturb the rest of the page. If the bookmark saves only the panel's group, opening the panel does not change the charts underneath it.
- A visual added later. With All visuals, a visual you add after saving the bookmark has no saved state in that bookmark. It can show up in a state you did not plan for, usually visible when it should be hidden. With Selected visuals, a visual added later is simply not touched.
To save only a panel, select the panel's group in the Selection pane, not the individual visuals inside it. Then turn on Selected visuals. If you select the visuals one at a time and later add another to the group, the bookmark does not include the new one.
Common combinations
| Purpose | Data | Display | Current page | Scope |
|---|---|---|---|---|
| Show or hide a filter panel | Off | On | Off | Selected visuals (the panel group) |
| Switch between chart and table | Off | On | Off | Selected visuals (chart and table) |
| Reset the page to a known state | On | On | On | All visuals |
| Saved analytical view | On | Optional | On | All visuals |
| Filter-only shortcut ("Last 12 months") | On | Off | Off | Selected visuals (slicer or filtered visuals) |
Treat the table as a starting point. After saving a bookmark, apply it and watch what changes.
How the options decide what happens
The following diagram shows how the options combine when you apply a bookmark.
Updating a bookmark
A bookmark does not change when you change the report. Suppose you save a bookmark, then adjust a slicer. The bookmark still holds the old slicer state. To save the new state:
- Set up the page exactly as you want it.
- In the Bookmarks pane, open the bookmark's
...menu. - Choose Update.
Update also saves the current capture options and scope. If you changed the options in the menu, Update stores them with the new state. A common mistake is to change an option, such as turning Data off, and forget that the saved state itself is still the old one. When a bookmark behaves oddly, re-set the page and update it, then test again.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Opening a panel clears the user's filters | Data is on in the panel bookmark | Turn Data off and update |
| A button moves the user to another page | Current page is on in a copied bookmark | Turn Current page off, or make one bookmark per page |
| A visual added later appears in the wrong state | Scope is All visuals | Switch to Selected visuals and update with the right group selected |
| A reset button leaves one slicer unchanged | The slicer was not on the page, hidden, or not selected when you used Selected visuals | Use All visuals, or include the slicer and update |
| A bookmark shows old values | Settings were changed after saving | Re-set the page and choose Update |
Exercises
Exercise
You build a bookmark that opens a filter panel by making a group of visuals visible. After a user applies a slicer and opens the panel, the slicer resets. Which capture option is most likely responsible, and what should you change?
Show answer
Data is on, so the bookmark restores the filters and slicer state that were saved with it. Turn Data off, keep Display on, and choose Update so the panel bookmark only changes visibility.
Exercise
A bookmark with Current page off and Selected visuals scope is attached to a button copied from page A to page B. On page B it does nothing. Give one likely reason and one fix.
Show answer
The bookmark's saved visuals exist on page A, not on page B, so there is nothing for it to apply on page B. Fix it by creating a separate bookmark for page B using that page's visuals, and assign it to the copied button.