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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Average column value different in Power Bi Dax average function

My table looks like below in Excel sheet .  used below Excel function to  find the average value  

 

=AVERAGE(A1:A12)

 

 

THENNA_41_0-1641372615079.png

 

But same data set i have loaded into power bi . i have tired  to average value using the below measure

 

2020 Avg = CALCULATE(AVERAGE('Current Forecast'[Actuals]))
 
But  power bi average totally different 
THENNA_41_2-1641372934165.png
 
How to get same  value in power bi . any idea  .thanks in advance 

 

5 REPLIES 5
smpa01
Super User
Super User

@Anonymous  it is simply not possible, POWER BI will give you exact same result as excel, unless there is something else you have not talked about.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
ValtteriN
Super User
Super User

Hi,

Assuming you want to have the average from all of your data, you can just include ALL in your calculate.
E.g. 2020 Avg = CALCULATE(AVERAGE('Current Forecast'[Actuals]), ALL('Current Forecast'))


If you want to have some filter conditions you could use AVERAGEX or something like this:
2020 Avg = CALCULATE(AVERAGE('Current Forecast'[Actuals]), ALL('Current Forecast'),'Current Forecast'[Year]=2020)

I hope this helps and if it does consider accepting this as a solution and giving the post a thumbs up!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@ValtteriN  i have tired above measure but its not  working 

Anonymous
Not applicable

@ValtteriN  i want only total sum value average .  but  my measure its convert all cell value to average . 

Hi,

I am not sure if I understood the issue, but based on you messages I assume you want to first summarize your data based on some dimension and then take averages out of these values?

In that case try something like this:

Start data:

ValtteriN_0-1641378784949.png


Dax:

Summarized average = var vartable = SUMMARIZE(AverageExample,AverageExample[Category],"Value",SUM(AverageExample[Values])) return

AVERAGEX(vartable,[Value])

End result:
ValtteriN_1-1641378845319.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.