OpenBI Docs Buy

MAXA

The largest value in a column, text counting as 0, TRUE as 1 and FALSE as 0.

Group: Aggregation. Compatible with DAX.

Syntax

MAXA ( <column> )
ParameterTypeDescription
columnColumnThe column whose largest value is wanted; it may hold numbers, text or logical values.

Returns

Number. The largest value, where text counts as 0, TRUE as 1 and FALSE as 0.

Remarks

  • Blank cells are left out.
  • On a column of numbers it gives the same answer as MAX; on a column of text, 0.

Examples

Numbers and text

EVALUATE
ROW (
    "Highest price", MAXA ( Holdings[Price] ),
    "Of the names", MAXA ( Products[Product] )
)
Highest priceOf the names
101.30

MAX, MAXX, MINA, AVERAGEA.

Last updated · OpenBI Studio 0.3.74