MEDIANX Returns the median number of an expression evaluated for each row in a table.


MEDIANX(table, expression)


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.

Return Value

To return the median of numbers in a column, use MEDIAN function (DAX).

Reference Data

DAX Functions / Statistical Functions / MEDIANX