Skip to main content Skip to complementary content

Median - script function

Median() returns the aggregated median of the values in the expression over a number of records as defined by a group by clause.

Syntax:  

Median (expr)

Return data type: numeric

Arguments:  

Arguments
Argument Description
expr The expression or field containing the data to be measured.

Example: Script expression using Median