MAXA is a DAX function that returns the largest value in a column, including logical values and text.
Syntax
MAXA( ColumnName )
Argument | Properties | Description |
---|---|---|
ColumnName | The column in which you want to find the largest value. |
MAXA is a DAX function that returns the largest value in a column, including logical values and text.
MAXA( ColumnName )
Argument | Properties | Description |
---|---|---|
ColumnName | The column in which you want to find the largest value. |
The largest value.
The MAXA function takes as argument a column, and looks for the largest value among the following types of values:
Logical values, such as TRUE
and FALSE
. Rows that evaluate to TRUE
count as 1; rows that evaluate to FALSE
count as 0 (zero).
Empty cells are ignored. If the column contains no values that can be used, MAXA returns 0 (zero).
If you want to compare text values, use the MAX function.
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
The following example returns the greatest value from a calculated column, named ResellerMargin, that computes the difference between list price and reseller price.
= MAXA([ResellerMargin])
The following example returns the largest value from a column that contains dates and times. Therefore, this formula gets the most recent transaction date.
= MAXA([TransactionDate])
Other functions related to MAXA are:
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy