Forum Discussion

stefanjt's avatar
stefanjt
Frequent Visitor
2 years ago

Tooltip on Dynamic Measures - Card (new

Dear community,

 

I am trying to show a dynamic tooltip while hovering over several different measures within a Card (new) visual. I want the tooltip to show the measure per category for the currently hovered-over measure.

 

Here's my setup:

1. Database usage table:

 

2. Measures

 

Total cold storage = 
SUM(
    'Database usage'[Cold storage]
)


Total hot storage = 
SUM(
    'Database usage'[Hot Storage]
)


Total storage = 
[Total cold storage] + [Total hot storage]

 

 

3. Fields parameter (added from Report view - New parameter - Fields: contains the 3 measures above:

4. Visuals on main page: 

5. Tooltip page:

 

 

I need help setting up the Card (new) visual to dynamically change the measure on the tooltip.

 

Any suggestions?

 

I am attaching a sample report: https://www.dropbox.com/scl/fi/xx3y3whfsn0e7ppevj3hm/Dynamic-Tooltips-Demo.pbix?rlkey=87yyqxfpwl7wnbly7bvwtjatp&dl=0 

 

Thank you in advance!

5 Replies

  • AllisonKennedy's avatar
    AllisonKennedy
    Icon for Community Champion rankCommunity Champion

    stefanjt I have done something similar but I created a different tooltip page for each measure, then I set the 'show tooltip on' property of the page to the measure I want to use that tooltip with. Finally, I made sure the card visual was set to use 'auto' page tooltips. 

     

    would love to hear if you solve this a more elegant way, but that worked for me. 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, stefanjt 

    May I ask if you have gotten this issue resolved? If it is solved, please share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.


    If it is not resolved, I hope you will provide the full .pbix file via OneDrive or SharePoint. Please be careful to remove all sensitive information and we will do our best to provide ideas for your issue.

     

     

    I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
    Best Regards,
    Fen Ling,
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • stefanjt, just checking to see if you made any progress with this? Ideally that doesn't invlove making a bunch of differnt tooltip pages...