Sub topic 10
Building a report page tooltip
This chapter assumes you can build visuals in Power BI Desktop, know what filter context is, and can write simple DAX measures. A report page tooltip is a small report page that appears when a reader hovers over a data point. It replaces the default text tooltip with visuals.
How a tooltip page gets its data
When the reader hovers over a bar, Power BI passes that data point's filter context to the tooltip page. A bar for "Bikes" in 2025 sends Category = Bikes and Year = 2025. Every visual on the tooltip page then evaluates its measures under those filters. You don't configure the filtering. It follows from the fields in the hovered visual.
Create the tooltip page
- Add a new page and name it something clear, such as
Tooltip - Category Trend. - Select the page background. In the Format pane, open Page information and turn on Allow use as tooltip.
- Open Canvas settings and set Type to Tooltip. This gives a 320 by 240 pixel canvas.
- Use View > Page view > Actual size so you design at the real display size.
- Add the visuals the reader needs: usually a card or two and one small chart.
Power BI hides tooltip pages from the page tabs in the published report, so readers can't navigate to them directly.
Add a measure for context
A tooltip works best when it shows something the hovered visual doesn't. For a sales chart, comparison with last year is a common choice. Create these measures and place them in cards on the tooltip page. This code assumes you already have a [Total Sales] measure and a marked date table.
Sales PY =
CALCULATE ( [Total Sales], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
Sales YoY % =
DIVIDE ( [Total Sales] - [Sales PY], [Sales PY] )DIVIDE returns blank instead of an error when last year's sales are zero or blank. Because the tooltip page inherits the hovered point's filters, these measures show the values for that point.
Assign the tooltip to a visual
- Go back to the report page and select the visual, for example a column chart of sales by category.
- In the Format pane, open General > Tooltips.
- Set Type to Report page.
- Under Page, choose your tooltip page.
- Hover over a column to test it.
The setting applies to one visual. To reuse the tooltip, repeat these steps on each visual.
Tooltip page or Tooltips field well
You can also add a measure such as Sales YoY % to the visual's Tooltips field well. Power BI then appends it to the default text tooltip. Choose by how much you need to show:
| Need | Use |
|---|---|
| One or two extra numbers | Tooltips field well |
| A trend line, several cards, or formatted layout | Report page tooltip |
Common mistakes
- Forgetting Allow use as tooltip, so the page doesn't appear in the page list for the visual.
- Designing on a full-size canvas, which makes the tooltip clipped or tiny.
- Putting interactive elements on the page. Readers can't click inside a tooltip, so slicers and buttons are useless there.
Exercise
You hover over a bar showing 2025 sales for the Bikes category. Your tooltip page has a card with [Sales YoY %], but it shows the total for all categories instead. What are two likely causes?
Show answer
First, the hovered visual may not include Category, so no Category filter reaches the tooltip page. Second, the tooltip page may have a visual-level or page-level filter that overrides the incoming filter. Check which fields the hovered visual uses and review the tooltip page's filters.