How does the AVERAGEA function (DAX) work?
Returns the average (arithmetic mean) of the values in a column. Handles text and non-numeric values.
AVERAGEA Formula Syntax
How do you use the AVERAGEA function?
The AVERAGEA function takes a column and averages the numbers in it, but also handles non-numeric data types according to the following rules:
- Values that evaluates to TRUE count as 1.
- Values that evaluate to FALSE count as 0 (zero).
- Values that contain non-numeric text count as 0 (zero).
- Empty text (“”) counts as 0 (zero).
Related Blog Posts
Related Support Forum Posts
Considerations when using the AVERAGEA function
If you do not want to include logical values and text representations of numbers in a reference as part of the calculation, use the AVERAGE function.
Whenever there are no rows to aggregate, the function returns a blank. However, if there are rows, but none of them meet the specified criteria, the function returns 0. Microsoft Excel also returns a zero if no rows are found that meet the conditions.
Related Video Tutorials
Formula examples using the AVERAGEA function
=AVERAGEA(value1, [value2], …)
Related DAX Functions
Related Course Modules
To access our comprehensive DAX formula reference guide just insert your email address below. The resource will download immediately and we’ll also email it to you.