Date Format OTBI
I was planning to write the logic to get current period + last month period logic (period is in the date format MON-YY), I tried to create a filter but when I hardcode the value to a date (EX: JAN-17) I am getting the data, but when I write a date expression I am getting error?
below is the expression i tried to equate
EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), CURRENT_DATE, 'MON-YY') this is for current month
Could anyone please let me know how to write this expression?
Thanks,
Ram