Expression functionsAggregationmedianOn this pagemedianThe middle value; the average of the middle two when the count is even median(arr: array) -> float64 Arguments NameTypearrarray Example {{ median([10, 20, 30, 100]) }} Returns 25.