SUM(ARRAY_COUNT(**query**)) returning null

Hi

SUM(ARRAY_COUNT(query)) returns null if there are no documents matching condition. Is it possible to return Zero(0) instead of Null

Regards,
Venkat

wrap around IFMISSINGORNULL(XXX, 0) or case statement

@vsr1 thanks a ton it worked :slight_smile: