Cheat Sheets/Power BI/MEDIAN
DAX function

MEDIANDAX function reference

Median of a column.

Syntax

dax
MEDIAN(<column>)

Examples

dax
MEDIAN(Sales[Amount])
A number
dax
CALCULATE(MEDIAN(Sales[Amount]), Sales[Region] = "West")
Median order value in the West region
dax
MEDIAN(Sales[Amount]) - AVERAGE(Sales[Amount])
Compares median to mean to gauge skew from outliers

Common mistakes & gotchas

Related DAX functions

From Math & statistics

← Back to the Power BI (DAX) cheat sheet