Need help on showing last 6 months based on prompt
784355Jul 19 2011 — edited Jul 19 2011Hello,
I have a requirement like this
I have a table which shows data for last 6 months.
Now i am having the filter which takes the data from sysdate and sysdate minus 6 month.like this
Now what i want is
To have a radiobutton which when clicked should exclude the current month
so its like,so should show
current_date minus 1 month to current_date minus 7 month.
So that total it must show 6 months.
Any idea on how to do this?
Now i am doing like in filter
"DATEADDED" <= CURRENT_DATE
AND
"DATEADDED" >=
TIMESTAMPADD(SQL_TSI_MONTH, -5, TIMESTAMPADD(SQL_TSI_DAY, -(DAY(CURRENT_DATE)-1), CURRENT_DATE))
By default this should come but when check the radiobutton
should come the way i wnated?
using obiee 11g
Thanks