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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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