Applies to: CELONIS 4.0 CELONIS 4.2 CELONIS 4.3 CELONIS 4.4
Description
This function calculates the maximum value per group. MAX can be applied on any data type.
Syntax
MAX ( table.column )
Null handling
Null values are ignored, meaning that they don't influence the result. If all values of a group are null, the result for this group is also null.
Examples
Maximum of column.
Query
Column1
MAX ( "Table"."Column" )
Get the maximum value by country.
Query
Column1
"Table"."Country"
Column2
MAX ( "Table"."Values" )
Get the maximum value mixed with nulls, grouped by country.
Query
Column1
"Table"."Country"
Column2
MAX ( "Table"."Values" )