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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
cbschley
Helper III
Helper III

Custom Tooltip to display items in bucket

Hello community!

 

I am trying to create a custom tooltip that will display the locations that make up the individual bars in this stacked-bar chart. The stacked-bar chart contains 3 measures, one for red, one for yellow, and one for green.

 

For example, the red bar has 7 items, and I want to display those names in the tooltip that make up the red bucket.

 

cbschley_0-1718222282124.png



Ideally the tooltip will look something like this:

cbschley_1-1718222302432.png

 

The tooltip should change based on if the user is hovering over red, yellow, or green. What measures should I be using to accomplish this?

1 ACCEPTED SOLUTION
cbschley
Helper III
Helper III

@amitchandak calculation group did not help, however you did give me the idea to convert this to a single measure, and having a category for each of the bars. This allowed me to pass through the location names properly on each bar.

View solution in original post

2 REPLIES 2
cbschley
Helper III
Helper III

@amitchandak calculation group did not help, however you did give me the idea to convert this to a single measure, and having a category for each of the bars. This allowed me to pass through the location names properly on each bar.

amitchandak
Super User
Super User

@cbschley , if the measure is used to create a stack, they can not pass as value to filter the data on the tooltip, You need to create a calculation group of measure use that in visual, now of the report tooltip which you can change measure based on selected measure on stacked 

 

Power BI Tooltip Page: How to pass selective values to the tooltip page: https://www.youtube.com/watch?v=lEq7YtkxeLU

Learn Power BI: Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display: https://youtu.be/qMNv67P8Go0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.