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