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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
DeeMag
Helper II
Helper II

Average

Hi,

 

Can you help me why Power BI shows different average to correct average.

1st screen shot shows excel average to be 271.6 

2nd screen shot shows Power BI where average for column shows as 287.23

Is there any blog or post which helps me to find that both column wise averages match.

DeeMag_0-1624615083439.pngDeeMag_1-1624615292286.png

 

appreciate your help, thank you

 

1 ACCEPTED SOLUTION
DeeMag
Helper II
Helper II

I was able to solve that by adding addin allselected on top value function. Thanks.

View solution in original post

4 REPLIES 4
DeeMag
Helper II
Helper II

I was able to solve that by adding addin allselected on top value function. Thanks.

amitchandak
Super User
Super User

@DeeMag , If you have used a formula

Sum(A)/Sum(B)

 

Power bi will recalculate the grand total by summing up the A and B

 

In the case of excel, it is a simple avg of rows

 

in power bi you can get that like

 

averagex(Values(Table[Agent name]), Divide(Sum(Table[A]), Sum(Table[B])))

 

Where Table[Agent name] is column on which data is grouping for avg

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit,

 

The value turns out to be much lower using Averagex and Values.

can you suggest some other work around else please?

Measure = SUMX(VALUES(Cus_AgentPerformance[AgentName]),DIVIDE([Total],sumx(Cus_AgentPerformance,Cus_AgentPerformance[Inbound Calls])))
Measure 2 = AVERAGEX(VALUES(Cus_AgentPerformance[AgentName]),DIVIDE([Total],sumx(Cus_AgentPerformance,Cus_AgentPerformance[Inbound Calls])))
DeeMag_0-1624737161811.png

Thank you.

Thanks Amit, i will try the way you suggested.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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