Skip to content

[Feature] Create a standard to support measures with Slowly Changing Dimension tables #1915

@alex-fliegel

Description

@alex-fliegel

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing metricflow functionality, rather than a Big Idea better suited to a discussion

Describe the feature

The current Metric Flow configuration is built to support standard dimensions with actual primary keys, but has issues properly supporting Slowly Changing Dimension tables. (See this dbt documentation on SCD tables today)[https://docs.getdbt.com/docs/build/dimensions#scd-type-ii]. Ideally, establishing a standard will allow users to implement measures and metrics alongside SCD tables, adhering to best-in-practice performance layouts for certain tables.

Describe alternatives you've considered

I have tried implementing the semantic layer including SCD tables using the standard implementation without measures. I have tried implementing semantic layer while filtering scd tables to "latest record" which allowed measures (scd config no longer needed) but did now allow to show records over time.

Who will this benefit?

Any user of the semantic layer who leverages SCD Type II tables to manage the performance of the Kimball model, preparing optimized data for AI solutions

Are you interested in contributing this feature?

Sure

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageTasks 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