dbt - Advanced Patterns
You wrote this metric definition in dbt YAML:
But when you run your report, the average is incorrect. What is the likely error?
metrics:
- name: avg_order_value
model: ref('orders')
label: 'Average Order Value'
type: avg
sql: total_priceBut when you run your report, the average is incorrect. What is the likely error?
