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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Stacked barchart tooltips

Hi, 

Is it possible to have a hide one part of tooltips and only show have one shows on this bar chart and if so how ? example below ; I want to have a tooltip show for blue and not yellow.

I have two measures on value filed, yellow present loss and blue present gain. 

 

stacked.png

2 REPLIES 2
Greg_Deckler
Super User
Super User

Perhaps something like:

 

Measure 3 = 
IF(MAX([Column1])="Cat1",BLANK(),SUM([Column2]))

And use that for your tooltip.


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

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

,

thanks for your reply,

I have tried to use your solution but i seem to have trouble with code,

you suggested

Measure 3 =
IF(MAX([Column1])="Cat1",BLANK(),SUM([Column2]))

I matched it to my report as

Measure 3 =
IF(MAX([bluebar])="Cat1",BLANK(),SUM([ .............

but the "yellowbar" measure not coming up for the second part of the code ??

what cat1 stand for ?

thanks

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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