```CASE WHEN ({transaction.amount}*{custitem15}*{c...
# suiteanalytics
m
Copy code
CASE WHEN ({transaction.amount}*{custitem15}*{custitem19})>0 THEN ({transaction.amount}*{custitem15}*{custitem19}) WHEN ({custitem24}*({transaction.quantity}-(case when {transaction.name}= 'Donations' then {transaction.quantity} else 0 end)))=0 OR ({custitem24}*({transaction.quantity}-(case when {transaction.name}= 'Donations' then {transaction.quantity} else 0 end)))>({transaction.amount}*{custitem15}) THEN ({transaction.amount}*{custitem15}) ELSE ({custitem24}*({transaction.quantity}-(case when {transaction.name}= 'Donations' then {transaction.quantity} else 0 end))) END
a
Your paratheses are not balanced. Throw it into excel with an equal sign in front of it. It will color code the parentheses for you.