Hi, I'm trying to create a search where I can see when was the item last ordered on Amazon. The following formula is returning Invalid Expression but I can't figure out why, Field is Date Formula:
CASE WHEN {transaction.entity} = 'Amazon' THEN {transaction.trandate} ELSE 0 END