Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Dear DAX community,
I want to understand the difference between AVERAGE and AVERAGEX in terms of working method and capacity.
The formula for the average is SUM(amount)/Number of Instance. AVERAGEX works at row context, it is calculating the Average at every row Level. I want to understand, how this is happening?
Thanks for you time and much appreciate your support in this regard.
Regards,
SD
@dhamodarankms , check if these can help
https://www.decisivedata.net/blog/understanding-using-x-functions-dax
@dhamodarankms So AVERAGE accepts a column as an input. AVERAGEX accepts a table or table expression as an input as well as a column specification. So, you can do this:
AVERAGE('Table'[Column]) will give you the average of everything in the table in that column
with AVERAGEX you can do things like:
AVERAGEX(FILTER('Table',[Device] = "A"),[Column])
This allows you to create some kind of filter and then just do an average over that subset of the table and column values.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 12 | |
| 10 | |
| 8 |