Skip to content

Commit 301646f

Browse files
authored
docs: Clarify the BigQuery part in percentiles.mdx
1 parent 3aab124 commit 301646f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/pages/guides/recipes/data-modeling/percentiles.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,14 @@ information about users, including their age:
5555

5656
Calculating 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+
5859
Calculating the percentiles would require using database-specific functions.
5960
However, 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

0 commit comments

Comments
 (0)