Skip to content

Commit

Permalink
Update billing page with proper group-by sl syntax (#5223)
Browse files Browse the repository at this point in the history
Quick syntax error I noticed!
  • Loading branch information
nghi-ly authored Apr 3, 2024
2 parents f1a6fe3 + 4a4f259 commit 8c86242
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/docs/docs/cloud/billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,31 +53,31 @@ Examples of queried metrics include:
- Querying one metric, grouping by one dimension → 1 queried metric

```shell
dbt sl query --metrics revenue --group_by metric_time
dbt sl query --metrics revenue --group-by metric_time
```

- Querying one metric, grouping by two dimensions → 1 queried metric

```shell
dbt sl query --metrics revenue --group_by metric_time,user__country
dbt sl query --metrics revenue --group-by metric_time,user__country
```

- Querying two metrics, grouping by two dimensions → 2 queried metrics

```shell
dbt sl query --metrics revenue,gross_sales --group_by metric_time,user__country
dbt sl query --metrics revenue,gross_sales --group-by metric_time,user__country
```

- Running an explain for one metric → 1 queried metric

```shell
dbt sl query --metrics revenue --group_by metric_time --explain
dbt sl query --metrics revenue --group-by metric_time --explain
```

- Running an explain for two metrics → 2 queried metrics

```shell
dbt sl query --metrics revenue,gross_sales --group_by metric_time --explain
dbt sl query --metrics revenue,gross_sales --group-by metric_time --explain
```

### Viewing usage in the product
Expand Down

0 comments on commit 8c86242

Please sign in to comment.