percentile_cont¶
Description¶
Assuming a continuous distribution, return the value for the specified percentile of the input expression across the group.
Percentile needs to be specified in the range of 0 to 1.0.
See also percentile_disc
.
Return type¶
expression
Domain¶
This is an aggregate function (aggregates rows over a group in aggregate verbs.)
This is a window function (calculates over a group of multiple input rows using windowing.)
Categories¶
Usage¶
percentile_cont(expression, percentile)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
expression |
numeric or duration |
no |
no |
none |
percentile |
numeric |
no |
no |
constant |
Aliases¶
percentilecont
(deprecated)