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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
quintans1
Frequent Visitor

Cluster Column Chart needs a dynamic horizontal line

I have a tab, Cluster Column Example, where I have a Matrix, two score cards and two Cluster Column Charts. In the two cluster column charts, I have added the Average line that Power BI allows you to add. When I select a container in the Matrix, the columns in the cluster column chart update, but the average lines do not update. Is there another visualization and/or DAX that would serve as a dynamic average line whose value would match the values in the respective scorecards in the second image.

 

PBIX file link 

 

The cluster average line matches the scorecardsThe cluster average line matches the scorecardsThe cluster average line doesn't match the scorecardsThe cluster average line doesn't match the scorecards

2 REPLIES 2
amitchandak
Super User
Super User

@quintans1 , Create a new measure

 

averageX(Values(Table[Container]), [Your measure])

 

and then use it in the analytics pane using the constant line option and fx

https://docs.microsoft.com/en-us/power-bi/desktop-analytics-pane

 

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

Thank you, but that did not work. I have that formula and is shown in the scorecard. But when I use it as you suggested, it doesn't work.

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.