Skip to content

Commit

Permalink
Move metrics key
Browse files Browse the repository at this point in the history
This pr moves the metrics so it's not nested under semantic_models. Raised by user in community slack https://getdbt.slack.com/archives/C02CCBBBR1D/p1737248111053329
  • Loading branch information
mirnawong1 authored Jan 20, 2025
1 parent f7b1819 commit bb91c94
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions website/docs/docs/build/metrics-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,15 @@ semantic_models:
- name: orders
expr: 1
agg: sum
metrics:
- name: orders
type: simple
label: Count of Orders
type_params:
measure:
name: orders
time_granularity: month -- Optional, defaults to day
metrics:
- name: orders
type: simple
label: Count of Orders
type_params:
measure:
name: orders
time_granularity: month -- Optional, defaults to day
```
</VersionBlock>

Expand Down

0 comments on commit bb91c94

Please sign in to comment.