Respected Members,
Can someone please resolve my issue trying to built MTD report(Date select from prompt):
1- I have Date column "Calendar Date"."Calendar Date" presentation variable @{P_DATE}
2- When I select Date from front end Prompt it should run for all dates in the condition
Filter:
"Calendar Date"."Calendar Date" BETWEEN TIMESTAMPADD(SQL_TSI_MONTH, 0, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH(date '@{P_DATE}{2016-03-25}') * -(1) + 1,date '@{P_DATE}{2016-03-25}'))
AND date '@{P_DATE}{2016-03-25}'
But unfortunately it gives result of only 1 row of the date which I have selected from PROMPT.
Whereas, if I replace the presentation variable with CURRENT_DATE it gives the correct result.
Please help.