Hi,
I'm trying to create a 'current year, current month' and 'previous year, current month' beast mode.
To this point I have created a current year to date but am not sure of the syntax. I have watch multiple videos and have searched high and low through domos resources.
Any help with the syntax would be helpful
Here is the beast mode that we have that works for the 'current year to date' and previous year to date:
case when year(`Transaction Date`) = year(CURDATE()) then `amount` end
Case when Year(`Transaction Date`) = Year(curdate())-1 then `amount` end