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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.