Try `CASE {amount} WHEN NULL THEN 0 ELSE {amount} ...
# suiteanalytics
j
Try
CASE {amount} WHEN NULL THEN 0 ELSE {amount} END