MEDIAN Function (DAX)

How does the MEDIAN function (DAX) work?

It returns the median of numbers within a column.

Use MEDIANX function (DAX) to return the median of an evaluated expression for each row in a table.

MEDIAN Formula Syntax


How do you use the MEDIAN function?

MEDIAN( Table[Column] ) is equivalent to MEDIANX( Table, Table[Column] ).

Related Blog Posts

Related Support Forum Posts

Median Of A Time Column
Get Median Value by Patient (In correct result)
Measure To Calculate Median Sale Price

Considerations when using the MEDIAN function

Only the column numbers are considered.

Blanks, logical values, and text are ignored.

Related Video Tutorials


Formula examples using the MEDIAN function


     Sales[Sales Amount]

Related DAX Functions

Related Course Modules



To access our comprehensive DAX formula reference guide just insert your email address below. The resource will download immediately and we’ll also email it to you.