The Percentile function returns the nth percentile of values in a column of numbers.
Percentile (numbers, n, break_col)
numbers references the column that contains the numbers on which the percentile is calculated.
n is the percentile value 0 to 1 inclusive.
break_col is an optional parameter that references a break column.
Percentile can also be used to return quartile values by setting the nth percentile to the following: 0.25 for first quartile, 0.5 for second quartile, 0.75 for third quartile. |
The following examples show the results of inserting the Percentile function in three separate tables.
In this example, two computed value columns have been calculated. In the first computed column, the Percentile function is used on the numeric column and the nth percentile of values (.80 in this case).
Percentile (Units, .80)
In the second computed column, the Percentile function is used on the numeric column, the nth percentile of values (.80 in this case), and the break_column.
Percentile (Units, .80, State)
In this example, two computed value columns have been calculated. In the first computed column, the Percentile function is used on the numeric column and the nth percentile of values (0 in this case).
Percentile (Units, 0)
In the second computed column, the Percentile function is used on the numeric column, and the nth percentile of values (.25 in this case).
Percentile (Units, .25)