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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Md_Ruman
Regular Visitor

How to hover on table visual in PowerBI

I have different categories and have some measures to get the sales amount while changing the categories, but i wanted to see the % of sales amount while hover on to that particular cell which has sales amount distributed over category.  I tried doing this using Tooltip but it's not working for me, please suggest some of the ways to so this in powerbi Desktop.

1 ACCEPTED SOLUTION

Hey @Md_Ruman 
to display multiple values in the tooltip, I have just added two different cards with different measures.
you can add multiple visuals on your custom tooltip, depending on your use case.

Please mark my solution as accepted if you got a clear idea. Thank you!

View solution in original post

9 REPLIES 9
Md_Ruman
Regular Visitor

@Dhairya@danextian  : The solution provided is not working in this case.
Explaining the exact requirement here:

1. We have a table containing below columns:

categoryfield
HappayPartner
MSMPartner
PaherPartner
MagalingPartner
Chatra CityBranch
TandwaBranch
KodarmaBranch
Hazaribagh cityBranch
FarmingAsset
Micro serviceAsset
animal husbandryAsset


I have used this table to apply a slicer on the visuals and keep field column there in slicer. So, we got 3 different fields in slicer drop down (partner,branch and asset).
I have applied this slicer to my visual which is nothing but a matrix table that is showing category wise loan app_id  and loan amount.
sample matrix visual look like:

Categoryloan app_idLoan amount
Happay367    25,000.00
MSM890    34,670.00
Paher1120    78,000.00
Magaling760    23,890.00
Total3137 1,61,560.00

Please note for this i have selected slicer as partner, if we will change the slicer like branch or asset then it's corresponding value will show in the matrix visual.
Now, I wanted to see % percent contribution of each category when i hover on to the cell like loan app_id or amount i,e as i hover on suppose (367) it will show 11.69 % of the total and so on.
Please suggest some easy and correct way to do this.

Hey @Md_Ruman 
Please follow the below steps to achieve your requirements

Step 1: Create the following measures

Total Loan app_id = SUM(Data[ loan app_id])
Total Loan amount = SUM(Data[ Loan amount])
Loan app_id % Contribution = 
DIVIDE(
    [Total Loan app_id],
    CALCULATE([Total Loan app_id],ALLEXCEPT(Data,Data[field]))
)
Loan Amount % Contribution =
DIVIDE(
    [Total Loan amount],
    CALCULATE([Total Loan amount],ALLEXCEPT(Data,Data[field]))
)

 

 

Step 2: Add a new page to your report and name it Custom Tooltip and change the type of canvas to "Tooltip", and plot above created two measures ("Loan app_id % Contribution" and "Loan Amount % Contribution") which you want to display while hovering on visual.

Dhairya_0-1688534274585.png

 


Step 3: Plot your slicer and required visual i.e., table or matrix, here I have used table visual, now go to tooltip settings under the format visual pane and select type as "Report Page" and Page as "CustomTooltip"(newly created tooltip page).

Dhairya_1-1688534421055.png

 


Step 4: Now on hovering over any records of your visual you will get the expected  result as shown below

Dhairya_2-1688534660974.png



If this helps you then please mark my solution as accepted so that other user can find it quickly when they encounter similar issue!

Thank You! 

Hi @Dhairya : The solution is working for me, but have one doubt, Please clarify how did you add multiple column values in card visual in custom tooltip that you have created. 
or did you import some other visual? i wanted to know how did you show multiple values in the card custom tooltip.

Hi @Dhairya : It's working for me, Thanks for your support.

Hey @Md_Ruman 
to display multiple values in the tooltip, I have just added two different cards with different measures.
you can add multiple visuals on your custom tooltip, depending on your use case.

Please mark my solution as accepted if you got a clear idea. Thank you!

Hi @Dhairya @danextian : I need one help to show my alerts or to highlights default in my powerbi report visuals.
I am explaining complete process here:

I have used line and stacked column chart visual on which i present state on x-axis, loan amount on y-axis and collection in that state in secondary y-axis, but i wanted to add one more field which will highlight or show us the default, like which state is going to default more, so we need to add some highlight or alerts. Please let me know, if it is clear, please suggest how to do this. 

Hi @Md_Ruman ,

 

This is why I asked for a sample data.

 

You need to get the subtotal for each field first and the sum of each category is to be divided by the subtotal of its corresponding field. Try this:

App id % =
DIVIDE (
    SUM ( Data[loan app_id] ),
    CALCULATE ( SUM ( Data[loan app_id] ), ALLEXCEPT ( Data, Data[Field] ) ) //subtotal by field
)

danextian_0-1688512058449.png

You can then use this measure in a visual that allows a measure as a custom tooltip

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Dhairya
Solution Supplier
Solution Supplier

Hey @Md_Ruman 
Create a custom tooltip and plot whichever measures you want to show while hovering on any visual.

Dhairya_1-1688449640479.png

 


Use that newly created custom tooltip as your tooltip for that particular visual

Dhairya_0-1688449611070.png

Dhairya_2-1688449841104.png

If it helps you then please mark my solution as accepted !
and if you are still facing any problem then please provide more detail like sample input and expected output.

danextian
Super User
Super User

Please provide a sample data and your expected result. Here's a guide on how you can get a better resonse:

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/3194... 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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