Skip to content

Median

AggregationDialect-gated

Median(column)

The 50th percentile (PERCENTILE_CONT(0.5) where the database supports it). Not available on MySQL, SQL Server, or BigQuery sources — SquareX fails loudly with SQX010 rather than approximating. The engine-by-engine landscape is the same as Percentile — see the support matrix there.

  • A typical value that outliers shouldn’t drag around — deal size, days-to-close, order value. Pair it with Avg on the same chart; a gap between them is itself a finding.
MedianOrderValue := Median(Sales.Amount)
MedianOrderValue := Median(Sales.Amount)
  • Non-additive — rejected under YTD/RollingSum (SQX015).