MEDIANX Returns the median number of an expression evaluated for each row in a table.
Syntax
MEDIANX(table, expression)
Parameters
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
https://docs.microsoft.com/en-us/dax/dax-function-reference