Hello, I am trying to build some queries that will add multiple metrics together for single value visualizations. The issue is some of these metrics could potentially be empty but are expected to eventually have data. I’m having trouble finding a way to ignore or set defaults to those empty metrics from the total addition aggregation, which breaks the entire query.
As an example, assume you are consuming DDU metrics, but not DDU logs (at the moment, but plan to). If I wanted to have a visualization of total DDU consumption, I’d try:
(builtin:billing.ddu.log.total)+(builtin:billing.ddu.metrics.total):auto:sort(value(sum,descending))
And due to ddu.log.total (at the moment) being empty, the entire query with the error out with:
“Result of metric expression was empty because one of the inputs was empty. `(builtin:billing.ddu.log.total)` was empty but `(builtin:billing.ddu.metrics.total):auto:sort(value(sum,descending))` had 1 dimension tuples.”
I have tried using the default transformation, but I get this error when adding it to any part of the query:“Illegal transform operator: Usage of default operator is only supported for resolutions other than `Inf`.”
