File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
docs/pages/guides/recipes/data-modeling Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,14 @@ information about users, including their age:
5555
5656Calculating the average age is as simple as defining a measure with the built-in
5757[ ` avg ` type] ( /reference/data-model/types-and-formats#avg ) .
58+
5859Calculating the percentiles would require using database-specific functions.
5960However, almost every database has them under names of ` PERCENTILE_CONT ` and
6061` PERCENTILE_DISC ` ,
6162[ Postgres] ( https://www.postgresql.org/docs/current/functions-aggregate.html ) and
62- [ BigQuery] ( https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#aggregate_functions )
63- included.
63+ [ Snowflake] ( https://docs.snowflake.com/en/sql-reference/functions-aggregation )
64+ included. For [ BigQuery] ( https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#approx_quantiles ) ,
65+ you'd need to use the ` APPROX_QUANTILES ` function.
6466
6567<CodeTabs >
6668
You can’t perform that action at this time.
0 commit comments