We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7cb709 + ba23678 commit 88ffd2dCopy full SHA for 88ffd2d
models/marts/example_develop_metric.sql
@@ -6,8 +6,8 @@ metrics:
6
label: Total Discount ($)
7
timestamp: order_date
8
time_grains: [day, week, month]
9
- calculation_method: average
10
- expression: amount
+ type: average
+ sql: amount
11
dimensions:
12
- had_discount
13
- order_country
@@ -17,7 +17,6 @@ metrics:
17
select *
18
from {{ metrics.develop(
19
develop_yml=my_metric_yml,
20
- grain='month',
21
- metric_list=['develop_metric']
+ grain='month'
22
)
23
}}
0 commit comments