Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update --dimensions to --group-by in cli examples #5209

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions website/docs/docs/build/dimensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,12 @@ You can use multiple time groups in separate metrics. For example, the `users_cr

```bash
# dbt Cloud users

dbt sl query --metrics users_created,users_deleted --group-by metric_time__year --order-by metric_time__year

# dbt Core users
mf query --metrics users_created,users_deleted --group-by metric_time__year --order-by metric_time__year

```


Expand All @@ -140,6 +142,7 @@ dbt sl query --metrics messages_per_month --group-by metric_time__year --order-b

# dbt Core users
mf query --metrics messages_per_month --group-by metric_time__year --order metric_time__year

```

```yaml
Expand Down
1 change: 1 addition & 0 deletions website/docs/docs/build/join-logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ dbt sl query --metrics average_purchase_price --group-by metric_time,user_id__ty

```yaml
mf query --metrics average_purchase_price --group-by metric_time,user_id__type # In dbt Core

```

## Multi-hop joins
Expand Down
Loading