CASE WHEN {amount} = {totalamount} THEN "True" ELS...
# general
j
CASE WHEN {amount} = {totalamount} THEN "True" ELSE "False" END