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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Tooltip for total stacked column chart

Hello

 

I have a stacked column chart that I would like to display the total of all the categories when you hover over a bar.

 

is it possible to create a DAX tool tip measure to do this?

 

thank you!

 

ToolTipSampleFile 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Checked file, You can get like

 

Measure = CALCULATE(SUM('Table (2)'[Users]),all('Table (2)'[Country]))

 

put this in tooltip

link :https://www.dropbox.com/s/fwkq6r835ez2quu/ToolTipSample.pbix?dl=0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Checked file, You can get like

 

Measure = CALCULATE(SUM('Table (2)'[Users]),all('Table (2)'[Country]))

 

put this in tooltip

link :https://www.dropbox.com/s/fwkq6r835ez2quu/ToolTipSample.pbix?dl=0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin

Greg_Deckler
Super User
Super User

Yes. Create the measure using ALL filter.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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