From f21297cf1d924e11a9c35e6a4bd5dffefd84603e Mon Sep 17 00:00:00 2001 From: Will Stamatis <114952643+wlsdbt@users.noreply.github.com> Date: Sun, 11 Feb 2024 12:48:03 -0500 Subject: [PATCH 1/2] Update _sl-measures-parameters.md Unless our Semantic Layer course is mistaken, we also support `median` --- website/snippets/_sl-measures-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/snippets/_sl-measures-parameters.md b/website/snippets/_sl-measures-parameters.md index 4bd32311fda..2416b3d1454 100644 --- a/website/snippets/_sl-measures-parameters.md +++ b/website/snippets/_sl-measures-parameters.md @@ -2,7 +2,7 @@ | --- | --- | --- | | [`name`](/docs/build/measures#name) | Provide a name for the measure, which must be unique and can't be repeated across all semantic models in your dbt project. | Required | | [`description`](/docs/build/measures#description) | Describes the calculated measure. | Optional | -| [`agg`](/docs/build/measures#description) | dbt supports the following aggregations: `sum`, `max`, `min`, `count_distinct`, and `sum_boolean`. | Required | +| [`agg`](/docs/build/measures#description) | dbt supports the following aggregations: `sum`, `max`, `min`, `median`, `count_distinct`, and `sum_boolean`. | Required | | [`expr`](/docs/build/measures#expr) | Either reference an existing column in the table or use a SQL expression to create or derive a new one. | Optional | | [`non_additive_dimension`](/docs/build/measures#non-additive-dimensions) | Non-additive dimensions can be specified for measures that cannot be aggregated over certain dimensions, such as bank account balances, to avoid producing incorrect results. | Optional | | `agg_params` | Specific aggregation properties such as a percentile. | Optional | From 2bf0f66ea3adfe8b299d454f56e85aa70cc28d70 Mon Sep 17 00:00:00 2001 From: Will Stamatis <114952643+wlsdbt@users.noreply.github.com> Date: Sun, 11 Feb 2024 12:52:46 -0500 Subject: [PATCH 2/2] Update _sl-measures-parameters.md (and average) --- website/snippets/_sl-measures-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/snippets/_sl-measures-parameters.md b/website/snippets/_sl-measures-parameters.md index 2416b3d1454..e41268a5867 100644 --- a/website/snippets/_sl-measures-parameters.md +++ b/website/snippets/_sl-measures-parameters.md @@ -2,7 +2,7 @@ | --- | --- | --- | | [`name`](/docs/build/measures#name) | Provide a name for the measure, which must be unique and can't be repeated across all semantic models in your dbt project. | Required | | [`description`](/docs/build/measures#description) | Describes the calculated measure. | Optional | -| [`agg`](/docs/build/measures#description) | dbt supports the following aggregations: `sum`, `max`, `min`, `median`, `count_distinct`, and `sum_boolean`. | Required | +| [`agg`](/docs/build/measures#description) | dbt supports the following aggregations: `sum`, `max`, `min`, `avg`, `median`, `count_distinct`, and `sum_boolean`. | Required | | [`expr`](/docs/build/measures#expr) | Either reference an existing column in the table or use a SQL expression to create or derive a new one. | Optional | | [`non_additive_dimension`](/docs/build/measures#non-additive-dimensions) | Non-additive dimensions can be specified for measures that cannot be aggregated over certain dimensions, such as bank account balances, to avoid producing incorrect results. | Optional | | `agg_params` | Specific aggregation properties such as a percentile. | Optional |