AVERAGE is a DAX function that returns the average (arithmetic mean) of all numbers in a column.
Syntax
AVERAGE( ColumnName )
| Argument | Properties | Description |
|---|---|---|
| ColumnName | The column that contains the numbers for which you want the average. |
AVERAGE is a DAX function that returns the average (arithmetic mean) of all numbers in a column.
AVERAGE( ColumnName )
| Argument | Properties | Description |
|---|---|---|
| ColumnName | The column that contains the numbers for which you want the average. |
Returns a decimal number that represents the arithmetic mean of the numbers in the column.
This function takes the specified column as an argument and finds the average of the values in that column. If you want to find the average of an expression that evaluates to a set of numbers, use the AVERAGEX function instead.
Nonnumeric values in the column are handled as follows:
When you average cells, you must keep in mind the difference between an empty cell and a cell that contains the value 0 (zero). When a cell contains 0, it is added to the sum of numbers and the row is counted among the number of rows used as the divisor. However, when a cell contains a blank, the row is not counted.
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. Excel also returns a zero if no rows are found that meet the conditions.
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
The following formula returns the average of the values in the column, ExtendedSalesAmount, in the table, InternetSales.
= AVERAGE(InternetSales[ExtendedSalesAmount])
Other functions related to AVERAGE are:
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy