I am using the latest dbt-cloud and trying to build a project where I am creating a metricstore. But I am not able to define the Metric Config either in dbt_project.yml or in a separate metric.yml. I am using the jaffle_shop dataset and following this github repository -for reference
In the dbt_project.yml I am enabling the metric like this :
However it says this property is not allowed.
in the metric.yml in another folder in my project tree this is what I am doing with the same error message
- name: revenue
description: “The total revenue of our jaffle business”
time_grains: [day, week, month, year]
- field: status
In the package.yml this is my content -
- package: dbt-labs/metrics
If you notice , some of the lines are highlighted in my yaml file , when you hover on it it says the parameters are not allowed.
Need help on how to resolve this issue ? How can I enable metric or metricflow on dbt-cloud to create metrics ?