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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors