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
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors