AVERAGE Function (DAX)

How does the AVERAGE function (DAX) work?

As a type of aggregate function, the AVERAGE function (DAX) will return the average of all the numbers within a column.

ABS Formula Syntax

AVERAGE(
     <column>
)

How do you use the AVERAGE function?

This function uses the specified column as its argument and counts up the average of the values placed within the column. 

Its lone parameter is the ColumnName, which is the column that has the numbers for which you want the average.   

Related Blog Posts

Related Support Forum Posts

Average per quarter
Calculating an Average of a Measure
Moving average not average

Considerations when using the AVERAGE function

If there are no rows to aggregate, the function returns a blank. But if there are rows but none of them meets the specified criteria, the function returns 0.  

If you want to find the average of an expression that evaluates to a set of numbers, use the AVERAGEX function instead. 

Related Video Tutorials

Calculating Averages Per Transaction Using DAX in Power BI

Formula examples using the AVERAGE function

=AVERAGE(InternetSales[ExtendedSalesAmount])

=AVERAGE(A2:A6)

=AVERAGE(A2:A6, 5)

Related DAX Functions

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI
Center of Excellence

DOWNLOAD


Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.


Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide
Membership