You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will get a parsing error: 'label' is a required property
Expected Behavior
Do not require the label property on metrics either.
Without a label all the semantic layer users (documentation sites, metrics catalogs, BI tools) will default to the metric name.
Regardless of where metrics get defined, they have similar properties.
Is this a new bug in metricflow?
Current Behavior
When you define a metric via create_metric: true you do not have to specify the
label
property. This is valid configuration:When you add another metric, defined independently in YML, for example:
You will get a parsing error:
'label' is a required property
Expected Behavior
Do not require the label property on metrics either.
Without a label all the semantic layer users (documentation sites, metrics catalogs, BI tools) will default to the metric name.
Regardless of where metrics get defined, they have similar properties.
Steps To Reproduce
Try this on any semantic model.
Relevant log output
No response
Environment
Which database are you using?
other (mention it in "Additional Context")
Additional Context
Databricks/Spark
The text was updated successfully, but these errors were encountered: