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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
betelgeutsen
Frequent Visitor

Creating Customized Legend and Tooltip for Clustered Column Chart

Hi everyone!

I hope you can help me with a visualization challenge I'm facing. I have created a clustered column chart to display year-on-year (YoY) inflation based on different cities. The chart shows two columns for each city: one for the current quarter and year's YoY inflation and the other for the YoY inflation from the previous quarter. I have also filtered the data based on selected quarters and years.

Now, my question is: How can I customize the legend and the tooltip to dynamically adjust based on the selected filter values?

For instance, if I select "Quarter I" and "2019" from the filters, I want the legend to show "QI 2019" for the current quarter and "QIV 2018" for the previous quarter. Similarly, I want the tooltip to display the respective inflation values for the selected quarters.

Is there a way to achieve this in Power BI? I would greatly appreciate any insights or solutions you can provide.

Here I attached an illustration of my current chart for reference.

betelgeutsen_1-1689931963659.png

Thank you in advance for your help! ❤️

3 REPLIES 3
betelgeutsen
Frequent Visitor

Do you have references for the DAX?

lbendlin
Super User
Super User

Similarly, I want the tooltip to display the respective inflation values for the selected quarters.

Add the appropriate measures to the tooltips area.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors