CASE {amount} WHEN NULL THEN 0 WHEN '' THEN 0 ELSE...
# suiteanalytics
s
CASE {amount} WHEN NULL THEN 0 WHEN '' THEN 0 ELSE {amount} END