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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
pgo
Frequent Visitor

Average Line on Clustered Bar Chart

Hi Guys,

 

I wanted to apply average lines on my chart, but, after enabling display values, it shows a different average vs the measure I created.

I have a clustered bar chart with Supplier Category and Suplier Subcategory on the x-axis and a measure AVERAGE() on the values.

 

I have checked the filters, and done some research as well. It seems that the average line shows the arithmetic mean (correct me if I am wrong).

 

Is there a way I can display the correct Average Value on the Average Line?

 

2 ACCEPTED SOLUTIONS
v-yilong-msft
Community Support
Community Support

Hi @pgo ,

I have tested in my environment but it seems work fine that the value in average line and median line are the same as the value in the card. Both of them have also applied same filters.

vyilongmsft_0-1718673660139.png

Have you set the field in Y-axis in line chart as the same as in the card? The field count represent what and what is the data category of it? Usually, if the field is a sigma value, it should show the same value both in line chart and cards. Could you please consider provide a dummy .pbix file for further discussion?

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks for the update. As a workaround, I applied Constant Line instead of Average line.

View solution in original post

2 REPLIES 2
v-yilong-msft
Community Support
Community Support

Hi @pgo ,

I have tested in my environment but it seems work fine that the value in average line and median line are the same as the value in the card. Both of them have also applied same filters.

vyilongmsft_0-1718673660139.png

Have you set the field in Y-axis in line chart as the same as in the card? The field count represent what and what is the data category of it? Usually, if the field is a sigma value, it should show the same value both in line chart and cards. Could you please consider provide a dummy .pbix file for further discussion?

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the update. As a workaround, I applied Constant Line instead of Average line.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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