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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors
Top Kudoed Authors