Cheat Sheets/Power BI/MIN / MAX
DAX function

MIN / MAXDAX function reference

Smallest or largest value.

Syntax

dax
MIN(<column>) / MIN(<expr1>, <expr2>)    MAX(<column>) / MAX(<expr1>, <expr2>)

Examples

dax
MAX(Sales[Amount])
A number
dax
MAX(Sales[Amount]) - MIN(Sales[Amount])
Range of order values in the current context

MIN/MAX also accept two scalar expressions and return the larger/smaller of the two, not just a column aggregation.

dax
MAX(0, [Variance])
Floors a variance measure at zero

Common mistakes & gotchas

Related DAX functions

From Aggregations

Used in these tutorials

← Back to the Power BI (DAX) cheat sheet