I have a dashboard in AGOL which was created before the September 2021 update (not sure if that's relevant but thought I'd mention).
I have an indicator based on a feature layer which for the majority of the time will have no records in but occasionally will have some records.
The indicator is set to use a statistic as the value type and to return a COUNT on the OBJECTID field. When there are no records in the dataset the value returned is 0 rather than being no data.
However if I change the statistic to SUM and point it at any numeric field then the no data message is returned rather than a 0.
I can make use of the No data label settings to simulate the number 0 in this instance but the text formatting options are different between no data labels and the indicator text, so it's tricky to replicate these exactly if I want to show two similar indicators side by side, one with a count and one with a sum.
Just wanted to see if anyone knew if this is expected behaviour or if there is any other workaround to try and achieve the desired effect.
Thanks
Gareth