cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Microsoft
Microsoft

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

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
Highlighted
Super User II
Super User II

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

@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

Highlighted
Super User IV
Super User IV

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

@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!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Regular Visitor

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

Highlighted
Regular Visitor

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

Highlighted
Microsoft
Microsoft

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

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
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors