I am trying to simply create a calculated field using ifelse() but keep getting a syntax error. when I look through other people’s formulas they all have the same structure as what I am using. What am I not seeing? Here is my formula:
The portion highlighted as error is just the parameter name.
My end goal is to create a formula that allows me to switch the date aggregation on charts and tables and I would like to swap between month, quarter, year and ytd. Any additional support in the rest of the code would be appreciated as well.
Thanks for your reply. However, it doesn’t seem to make a difference in my instance. I’ve remade the parameter and even rewrote them in a different dataset and analysis and this still didn’t work.