Page 55 - DAX-Formula-Reference-Guide-Enterprise-DNA_Neat
P. 55
DAX Formulas Reference Guide | Statistical Functions (DAX)
MIN Function (DAX)
Returns the smallest numeric value in a column. Ignores logical values and text.
Syntax: MIN(<column>)
Parameter Definition
column The column in which you want to find the smallest numeric value.
Example:
The following example returns the smallest value from the calculated column,
ResellerMargin.
=MIN([ResellerMargin])
The following example returns the smallest value from a column that contains dates and
times, TransactionDate. This formula, therefore, returns the date that is earliest.
=MIN([TransactionsDate])
MINX Function (DAX)
Returns the smallest numeric value that results from evaluating an expression for each
row of a table.
Syntax: MINX(<table>,>expression>)
Parameter Definition
table The table containing the rows for which the expression will be evaluated.
expression The expression to be evaluated for each row of the table.
Example:
The following example filters the table, InternetSales, and returns only rows for a specific
sales territory. The formula then finds the minimum value in the column, Freight.
=MINX(FILTER(InternetSales,[SalesTerritoryKey]=5),[Freight])
RANKX Function (DAX)
Returns the ranking of a number in a list of numbers for each row in the table argument.
Syntax: RANKX(<table>,<expression>[,<value>[,<order>[,<ties>]]])
+64 21 164 5508 | info@enterprisedna.co 55

