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
Derived metrics in general are supported. The problem is when the metric derives from metrics from another models. For example, imagine you have:
model_a with metric_a
model_b with metric_b
model_c with a derived metric that uses metric_a and/or metric_b
Currently the CLI wouldn't be able to sync model_c, since it's using a metric that is associated with another model, so likely the columns used by this metric doesn't exist on this model and therefore it wouldn't be possible to create a metric like that on Superset (since the metric is created on the dataset level).
Current scenario
Currently, trying to sync a derived metric that relies on metrics from multiple models would fail with below error:
This error prevents the sync from finishing successfully.
Suggested solution
Handle this scenario - some suggestions:
meta
field for the metric.The text was updated successfully, but these errors were encountered: