Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
kiranbchitari
Frequent Visitor

How to create tooltip for table visual?

Hi,

I am trying to create a tooltip for table visual but I am not getting how to write the measure for that. When the user could hover over any date(28 sep 2015 ) on a Date column, for example, under 11111 Account. The tooltip could show the subtotal (Sum of corresponding Accounted Amount column) for 11111 Account for the date (28 sep 2015). And so on. Similarly, hovering over the Type entries (e.g. Payment) would show the sum of all Payment type for Account 11111. Please tell me how to do that.fig 1.PNG

 

 

I am attaching the .pbix file please help.

https://drive.google.com/open?id=1bkWbZxO3gMdswWDEv0bDUcfFpWYrAqqB

1 ACCEPTED SOLUTION
affan
Solution Sage
Solution Sage

Hi @kiranbchitari

You can try adding the following measure to be used in tooltip

ToolTip1 =CALCULATE(SUM(Sheet1[Accounted Amount]),ALLEXCEPT(Sheet1,Sheet1[Date],Sheet1[Account]))



I have attached the pbix file in which I have created two measures to show the total with "All types" on a date and the total with the hovered line "type" and "date"

Tooltip.png



Here is the pbix, you can try
https://www.dropbox.com/s/jdv7tro4a4txc39/How%20to%20create%20tooltip%20for%20table%20visual.pbix?dl...

Please accept as a solution if this helps.

Regards
Affan

View solution in original post

6 REPLIES 6
affan
Solution Sage
Solution Sage

Hi @kiranbchitari

You can try adding the following measure to be used in tooltip

ToolTip1 =CALCULATE(SUM(Sheet1[Accounted Amount]),ALLEXCEPT(Sheet1,Sheet1[Date],Sheet1[Account]))



I have attached the pbix file in which I have created two measures to show the total with "All types" on a date and the total with the hovered line "type" and "date"

Tooltip.png



Here is the pbix, you can try
https://www.dropbox.com/s/jdv7tro4a4txc39/How%20to%20create%20tooltip%20for%20table%20visual.pbix?dl...

Please accept as a solution if this helps.

Regards
Affan

Anonymous
Not applicable

does this work when pinning the report into a dashboard? it seems it only works when interacting with the report item but not dashboard.

@affan Thanks for your help.Smiley Wink

Anonymous
Not applicable

on hover the total tool tip shows wrong data (its showing first row data insted of total)

Same behavior here.  This is a problem!

Greg_Deckler
Super User
Super User

Select your table visual. Go to the paint roller icon (format). Scroll down and turn on Tool Tip.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.