cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarcinSV Helper I
Helper I

Total average in PBI table is not correct

Hi,

I don't understand why average in total is not correct, using standard table in powerbi.
In rows values are group by customers correctly (as average):
Customer A | 17,44
Customer B | 4,09
Customer C | 3,30
Customer D | 2,93
Customer E | 2,91
Customer F | 2,58
Customer G | 2,47

TOTAL: 4,07 -> not correct, should be average = 5,10

 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Total average in PBI table is not correct

This is the expected behaviour. The total average will not take an average of the averages per customer. The total average will take an average from the original data.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Re: Total average in PBI table is not correct

This is the expected behaviour. The total average will not take an average of the averages per customer. The total average will take an average from the original data.

View solution in original post

MarcinSV Helper I
Helper I

Re: Total average in PBI table is not correct

Of course!!! I was trying to calculate average from average 🙂

And its a difference like in example:

 

select (1+2) / 2. = 1.5

select (1+2+3) / 3. = 2

 

select (1.5 + 2) / 2 = 1.75 -> AVG from AVG

select (1+2+1+2+3) / 5. = 1.8 -> correct AVG

 

Thank's for help in showing the way 🙂

Highlighted
jmarchal
Regular Visitor

Re: Total average in PBI table is not correct

Hello,

 

do you find the solution? 

 

I have the same problem.

 

I don't know how to calculate average of averages.

 

Thanks in advance.

MarcinSV Helper I
Helper I

Re: Total average in PBI table is not correct

Calculating average from average its not a good idea because:

 

select (1+2) / 2. = 1.5 -> this is average

select (1+2+3) / 3. = 2 -> this is average

 

then if you calculate avg from avge you have:  select (1.5 + 2) / 2 = 1.75 -> AVG from AVG
but proper calculate is: 
select (1+2+1+2+3) / 5. = 1.8 -> correct AVG

 

So it's not an error of PBI but mistake in calculating average from average (1.75 vs 1.8 on above example).

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors