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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Community Champion
Community Champion

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!:
DAX For Humans

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Top Kudoed Authors