Forum Discussion
How to create tooltip for card visuals
Hi Community..!!
I have five Card visuals on a single report page in Power BI.
When a user hovers over each Card, I want to show some descriptive / explanatory text, and the text should be different for each Card.
I do not want to create different pages for tooltip for each card visual.
How can we build this.
Thanks in advance..!!
Hey prasadpatil020,
This is really a trick.
Add a transparent, borderless shape on top of each Card visual (use the Selection Pane to ensure it sits on top). Then for each shape:
Format Shape pane > Shape > Action (turn it on) > Tooltip (add the static text).
To ensure, clicking on shape triggers no action:
Format Shape pane > Shape > Action > Action (not written by mistake 😉) > Select Type as Bookmark and Bookmark as None.
Repeat for all 5 cards with different tooltip text.
Hope this helps! Please do share, if you find more efficient way to achieve this.
Best,
Harshit
4 Replies
- prasadpatil020Helper I
Thank you so much stoic-harsh danextian for quick responce, you both have given the solution which fits to my requirement.
Thank you so much once again.😊- stoic-harshSuper User
We are glad, it helped.
Best,
Harshit
- danextianSuper User
It depends on how each card is derived. If those are derived from column values, a page tooltip with a card can be used where the value dynamically responds to the current category. However, if the cards are from individual measures, measures do not have filter context. Power BI does not know which measure is being hovered, so it cannot be passed as a filter to the tooltip page. A shape or button with tooltip text can be used instead.
Please s ee the attached pbix.
- stoic-harshSuper User
Hey prasadpatil020,
This is really a trick.
Add a transparent, borderless shape on top of each Card visual (use the Selection Pane to ensure it sits on top). Then for each shape:
Format Shape pane > Shape > Action (turn it on) > Tooltip (add the static text).
To ensure, clicking on shape triggers no action:
Format Shape pane > Shape > Action > Action (not written by mistake 😉) > Select Type as Bookmark and Bookmark as None.
Repeat for all 5 cards with different tooltip text.
Hope this helps! Please do share, if you find more efficient way to achieve this.
Best,
Harshit