Using Presentation Variable in timestampadd function
1) Create a prompt day week and declare presentation variable
To show 30days back booked quantity the date selected in prompts In fx use FILTER("Facts Other"."Booked Qty" USING (Time."Day Date"=TIMESTAMPADD(SQL_TSI_DAY, -30, DATE '@{day}')))
You can apply the same formula for 1....n days For month level use FILTER("Facts Other"."Booked Qty" USING (Time."Day Date"=TIMESTAMPADD(SQL_TSI_MONTH, -3, DATE '@{month}'))) where -3= three months back
Hi Sai, If i want to disply the data lin the report like as below: days 0-7 100 8-15 200 16-30 300 Here 0 to 7, 8 to15 ,16 to 30 are the days in a month Please help me on this. Regards, Chaitanya
Thanks Saichand.
ReplyDeleteReposting the same...
Hi Sai,
DeleteIf i want to disply the data lin the report like as below:
days 0-7 100
8-15 200
16-30 300
Here 0 to 7, 8 to15 ,16 to 30 are the days in a month
Please help me on this.
Regards,
Chaitanya