Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for treat_null_values_as_zero when syncing metrics from dbt #220

Open
Vitor-Avila opened this issue Jun 19, 2023 · 0 comments
Open

Comments

@Vitor-Avila
Copy link
Contributor

Description

When defining a metric in dbt, it's possible to configure it to treat_null_values_as_zero: true. This configuration currently doesn't get implemented in Superset.

Suggested solution

For metrics with this config enabled, we could use coalesce({metric syntax}, 0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant