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
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

 

Share with Power BI Enthusiasts: 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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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