Willie Doyle
08/29/2023, 2:39 AMFrancisco Antunes
08/29/2023, 2:56 AM-
shows up either when there is no data or the result is null. In case of a null result, you can try building a metric using the IFNULL statement to make sure that it results in a 0 whenever the result of the calculation would be null.Michal Hauzírek
08/29/2023, 7:06 AM[=null]
selector. For example this formatting expression will format positive and negative numbers normally and show “0” instead of null/empty.
[=null]0;
[<0]-#,##0.00;
#,##0.00
While the IFNULL changes the resulting value, the metric format only changes how the resulting value is displayed.
Note that in case of KPI, the metric formatting is only applied to the “value” and “previous period value”, but not to the autogenerated “% change”.