I have an issue with creating DailySales, MTD, YTD, PYTD measures. I think I can do this with @propmts in Select clause of the objects and multiple dataproviders at Web I (4 Queries and Merge dimensions). But I am getting some database syntax errors. Most of the threads in the forum used standatrd date / SYSDATE for comparisons. But I want to capture the User selected date.
Can somebody help me with the Syntax? I tired To_Char and To_Date combinations too. Database is Oracle.
The following doesn’t parse. Error here:
Table.Settle_Date between trunc(@prompt(‘Enter SettledDate:’,‘D’,Mono,Free,Persistent,User:0),‘YYYY’) and trunc(@prompt(‘Enter SettledDate:’,‘D’,Mono,Free,Persistent,User:0) )
shamanth (BOB member since 2007-03-01)