cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
evgeni
Regular Visitor

difference in the calculated field of the average and the average line that I add in the visual

why when i add an average that i calculated as measure it show me a different value from the average line that i add to the visual?

1 ACCEPTED SOLUTION

Hi @evgeni ,

 

After checking the files you share, I found that there are duplicate values in the date column, which leads to the difference between the filter conditions of the measure you created and the AVG line filter conditions.

test_avg_line_error.PNG

This also means that the measure you create is the average of 35 rows, while AVG line calculates the average of 34 rows after aggregation.

 

Best Regards,
Liang
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

5 REPLIES 5
amitchandak
Super User IV
Super User IV

@evgeni , Average will depend on context. Can you please share an example. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

az38
Super User II
Super User II

@evgeni 

because of row and filter context that enabled by measure

more accurate answer depends on measure statement and data model

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
evgeni
Regular Visitor

Hi @evgeni ,

 

After checking the files you share, I found that there are duplicate values in the date column, which leads to the difference between the filter conditions of the measure you created and the AVG line filter conditions.

test_avg_line_error.PNG

This also means that the measure you create is the average of 35 rows, while AVG line calculates the average of 34 rows after aggregation.

 

Best Regards,
Liang
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

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors