Skip to content

[Bug] config block doesn't work with Measures #1811

@soham-dasgupta

Description

@soham-dasgupta

Is this a new bug in metricflow?

  • I believe this is a new bug in metricflow
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

While using config block in measures, dbt parse fails with Additional properties are not allowed ('config' was unexpected)

      - name: revenue
        config: 
          meta:
            Business_Owner: ASAR
            Technical_Owner: Sales Data Services
        expr: revenue
        agg: sum
        create_metric: true
        description: revenue

Expected Behavior

As per documentation, https://docs.getdbt.com/docs/build/measures config block is supported

Steps To Reproduce

Look at the above

Relevant log output

Environment

- OS: Mac
- Python: 3.12
- dbt:1.9.8
- metricflow: 0.8.1

Which database are you using?

other (mention it in "Additional Context")

Additional Context

Trino

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageTasks that need to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions