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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
PshemekFLK
Helper IV
Helper IV

Custom tooltip not working for grand total

Hello,

 

I have problems figuring out why the custom tooltip is not working for the Grand Total for the new measure ("Gap to Plan") in my matrix table.

 

The table shows Gap to Plan in dollar value by product category:

 

PB1.PNG 

 

If I drag the mouse over the dollar value it shows the custom tooltip that I built:

 

PB2.jpg

 

This doesn't work however for Total where it still shows the default tooltip:

 

PB4.jpg

 

Interesting thing is that if I add "Region" to the rows or columns then custom tooltip also works for Grand Total. Why is this happening? 

 

The "Gap To Plan" measure is defined by this formula:

 

Gap To Plan =
 IF(HASONEVALUE('VLookup category'[Category])=FALSE(),SUM('Country_Actual_(OBI)'[Actual]) - SUM('Bi ready'[Plan]),
  CALCULATE (
        SUM ( 'Country_Actual_(OBI)'[Actual] ),
        FILTER ( 'Country_Actual_(OBI)', 'Country_Actual_(OBI)'[Category]=SELECTEDVALUE('VLookup category'[Category]) )

    )
        - CALCULATE (
            SUM ( 'Bi ready'[Plan] ),
            FILTER ( 'Bi ready', LOOKUPVALUE('VLookup category'[Category],'VLookup category'[PFam],'Bi ready'[Pfam])=SELECTEDVALUE('VLookup category'[Category]) )

 

Thanks in advance

6 REPLIES 6
v-juanli-msft
Community Support
Community Support

Hi @PshemekFLK

I can't reproduce your problem.

the columns added to Tooltips page are "Actual" and "Plan" columns, right?

 

Best Regards

Maggie

 

 

Hi Maggie,

 

Correct. "Actual" and "Plan" are used in the tooltip. Both fields are from different tables connected by relationship. Again, the most confusing thing about this is that if I add another field to the table the tooltip starts to work on grand total. My feeling is that it has something to do with the dax formula for "Gap to Plan" but not sure. Please let me know if you need more info.

 

Thanks

 

 

Hi @v-juanli-msft

 

Below you can download a simple report with the problem described above: tooltip not working for total

 

https://ufile.io/b4qji

 

Can you look into it to see where it go wrong?

 

Thanks

 

 

Hi @PshemekFLK

Please check the right table, it is a table visual instead of a matrix visual as the left one.

This table show the same as your matrix, and it can show tooltip page correctly for the total.

 

Best reagrds

Maggie

 

Hi @v-juanli-msft

 

The tooltip in the table in your file is visible but it's showing the wrong numbers (Category 56 instead of Total)

 

 PBI tooltip.jpg

 

Thanks,

Przemek

 

 

Can anyone help with the problem? It's a small thing but the tooltip on the total is really needed in the report

 

Thanks

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors