How do I hard code values in a beast mode

Here is my beastmode. But when I pull it into a card it shows different amounts and it doesn't sum it correctly either. Is there something specific i need to do to make sure it knows it's a value?

Β 

SUM((CASE
WHEN `premiumtype` = 'Test' AND `planeventtype` = 'Full Season' THEN 18000000
WHEN `premiumtype` = 'Test1' AND `planeventtype` IN ('Half Season','Flex Plan','Mini-Plan') THEN 750000
WHEN `premiumtype` = 'Test2' AND `planeventtype` = 'Single Event' THEN 250000

ELSE 0
END
))

Comments

  • Can you provide an example of the output you're seeing? I'm not seeing any issues with your code at first glance.