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
If multiple semantic models containing generated metrics (the "create_metric" flag is set to true on a measure) are in the same file and one of the semantic models is modified, the generated metrics for the other semantic model are removed and not replaced. This can result in error messages such as "Saved_Query ... depends on a metric named '...' which was not found".
Expected Behavior
Generated metrics referenced by saved queries are found when they should be.
Steps to Reproduce
Create multiple semantic models in the same file, each of which has "create_metric" set for a measure.
Modify one of the semantic models and re-parse.
Attempt to run a saved query referring to the generated metric from the non-changed semantic model.
Relevant log output
Additional Context
This problem can be avoided by separating out semantic models with generated metrics into separate files.
The text was updated successfully, but these errors were encountered:
Current Behavior
If multiple semantic models containing generated metrics (the "create_metric" flag is set to true on a measure) are in the same file and one of the semantic models is modified, the generated metrics for the other semantic model are removed and not replaced. This can result in error messages such as "Saved_Query ... depends on a metric named '...' which was not found".
Expected Behavior
Generated metrics referenced by saved queries are found when they should be.
Steps to Reproduce
Relevant log output
Additional Context
This problem can be avoided by separating out semantic models with generated metrics into separate files.
The text was updated successfully, but these errors were encountered: