Skip to content

[CT-2833] Make dimension list available on the semantic model documentation page #434

@siljamardla

Description

@siljamardla

Describe the feature

When I open the documentation of a metric, I would like to see the dimensions available for this metric.

Describe alternatives you've considered

When scanning through the open issues list, I found this issue about exposing the metric yaml in the documentation. If that was exposed, it would provide the same value.

Additional context

When moving to MetricFlow the available dimension list will be extended thanks to additional functionality. However, I'm sure 'dbt compile' actually has to know the available dimension list anyway, so I'm guessing it will not be that much more difficult to make it available in documentation. And considering the MetricFlow functionality, the available dimension list will be even more valuable than in current metrics.

Who will this benefit?

When looking for metrics, it is very important to know at which granularities these metrics are available. Let's say I want to calculate country level 'number of orders' metric. I find the 'number of orders' metric in dbt docs, but I still have no idea if I can actually use it to calculate the country level values.

Are you interested in contributing this feature?

Sure, but I have no idea where to start.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions