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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

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

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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