I am trying to create an Analysis. I am trying to use SQL Expression and using Below Query but this does not work. My requirement is to filter Period.So if Current Month is Jul then Filter should be on Jul if its Aug then filter should be on Jul,Aug and If its Sep then Filter on Jul,Aug,Sep and so on. Can someone help to see why my below query does not work.
SELECT CASE CAST(VALUEOF("QFBI203:CurrentMonthAlias") AS CHAR(3)) WHEN 'Jul' THEN 'Jul' WHEN 'Aug' THEN 'Jul';'Aug'
WHEN 'Sep' THEN 'Jul';'Aug';'Sep'
WHEN 'Oct' THEN 'Jul';'Aug';'Sep';'Oct'
WHEN 'Nov' THEN 'Jul';'Aug';'Sep';'Oct';'Nov'
END From "Prompts"
Appriciate if someone can help.