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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Veree
Frequent Visitor

Average of a measure DAX

Hello everyone,

 

I'm tring to calculate the average of a MEASURE by using a measure.

If you check the picture I attached, I need the average of the [MEAN1] for the period selected.

373.6667
21.66667
395.3333

= 263.5555556

 

Anyone can help?

2023-08-03 10_27_55-Sales evolution - Power BI Desktop.png

6 REPLIES 6
v-zhangti
Community Support
Community Support

Hi, @Veree 

 

You can try the following methods.

Measure = Var _table=SUMMARIZE(ALL('Table'),'Table'[Date],"Sum",[MEAN1])
Return
AVERAGEX(_table,[Sum])

vzhangti_1-1692273242949.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi,

 

Results should be visible into the graph, not in the table. Mean1 is not a column, it is a measure. I need to do the average of a measure and show the result into a graph.

 

Veree_0-1692335621333.png

 

Table looks like this, but measures are outside the table columns.

 

Veree_1-1692335733960.png

 

Nicola_CMT
New Member

Hey Gurus, 

 

Anyone able to help ? I have this same issue in my report, that is killing my brain since days.. I have read almost 10 different articles on how to use the AVERAGEX function but none have solved.. Double kudos arriving!

Veree
Frequent Visitor

Hi DOLEARY85,

 

Already did but its not working, it's not giving the expected result.

Are you able to share the PBIX file?

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

you could use:

 

Measure = AVERAGEX('Table Name',[Measure Name])
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.