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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!