QUANTILE
Applies to: CELONIS 4.0 CELONIS 4.2 CELONIS 4.3 CELONIS 4.4 CELONIS 4.5 CELONIS 4.6 CELONIS 4.7
Description
This function calculates the given quantile value per group. QUANTILE can be applied to INT, FLOAT or DATE columns.
The given quantile has to be a float number between 0 (same as MIN) and 1.0 (same as MAX).
Syntax
QUANTILE ( table.column, quantile )
NULL handling
NULL values are ignored, meaning that they do not influence the result. If all values of a group are NULL, the result for this group is also NULL.
Examples
[1] Get 0 quantile of column. |
[2] Get 1.0 quantile of column. |
[3] Get the min quantile by country. |
[4] Get the 0.5 quantile mixed with nulls, grouped by country. |