diff --git a/website/docs/docs/build/measures.md b/website/docs/docs/build/measures.md index bf06681ddd7..caf08579547 100644 --- a/website/docs/docs/build/measures.md +++ b/website/docs/docs/build/measures.md @@ -255,15 +255,15 @@ We can query the semi-additive metrics using the following syntax: For dbt Cloud: ```bash -dbt sl query --metrics mrr_by_end_of_month --group-by subscription_date__month --order subscription_date__month -dbt sl query --metrics mrr_by_end_of_month --group-by subscription_date__week --order subscription_date__week +dbt sl query --metrics mrr_by_end_of_month --group-by metric_time__month --order metric_time__month +dbt sl query --metrics mrr_by_end_of_month --group-by metric_time__week --order metric_time__week ``` For dbt Core: ```bash -mf query --metrics mrr_by_end_of_month --group-by subscription_date__month --order subscription_date__month -mf query --metrics mrr_by_end_of_month --group-by subscription_date__week --order subscription_date__week +mf query --metrics mrr_by_end_of_month --group-by metric_time__month --order metric_time__month +mf query --metrics mrr_by_end_of_month --group-by metric_time__week --order metric_time__week ``` import SetUpPages from '/snippets/_metrics-dependencies.md';