Forum Discussion
Custom Tooltip with Auto Narrative
- 1 year ago
Power BI does not yet offer fully automated storytelling within tooltip pages based on marker selection. The recommended method is to use DAX to generate dynamic narrative text that changes according to the data point being hovered over. This approach allows you to display insights such as variances or performance summaries within a tooltip.
If you want a click based experience, consider using the Smart Narrative visual below the scorecard.
Thanks®ards,
Yugandhar.
Hi icassiem ,
Yes, it’s definitely possible to create custom tooltips in Power BI that show dynamic, context-aware narratives for your visuals. How to do it:
-
Create a new Tooltip page in Power BI and set its page size to “Tooltip.”
-
Add your visual(s) and use measures or DAX to create dynamic text (for example, with the SELECTEDVALUE() or ISFILTERED() functions).
-
You can use a Card or Multi-row Card to display dynamic narrative text that changes based on the data point the user hovers over.
-
In your main visual, set the “Tooltip” to your custom Tooltip page.
You can create a DAX measure like this:
Narrative =
"Score for " & SELECTEDVALUE(Table[Category]) & " is " & SELECTEDVALUE(Table[Score])
There are also AI-driven visuals and narrative tools (like Power BI Smart Narrative visual) that can generate more advanced auto-narratives if you want to go further.