Dear all,
I have to put a date range filter in my webi report and by default my user needs it for previous month till current date.
At the same time there should be flexibility for the user to change the date range filter.
He don't want to go to edit query and do this. He needs a global filter.
So I created two parameters in IDT and created a derived table and applied the date range dynamically using:
date between @prompt('Enter From Date','D','','mono','Free',{add_months(select max(Month start date from view_name .....))})
and @prompt('Enter To Date','D','','mono','Free',{select max(Month start date from view_name where Month start date.....)})
in the Where condition. I need to create this expression with a proper name as another object from where I could use it here.
I don't want this expression to be visible to the user. Instead it should be like either the date as such or some proper text.
Can anybody help me regarding creating this date range expression with proper names in IDT other than in the default value expression?
Regards
Archana