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