kalvis
Technical User
- Mar 15, 2001
- 9
I am using MS SSRS 2005. I created a report with two date parameters for From and To to filter for all records on a specific day (normally yesterday). The parameter Non-queried default values are currently set to
DateFrom: =format(dateadd("d",-1,Now()),"M/d/yyyy")
DateTo: =format(dateadd("d",1,Now()),"M/d/yyyy")
This effectively gives me all records for yesterday. But I would like to use a subscription on this report and have the default values take into account weekends. Can anyone tell me a way to change to date parameters to only select weekdays, which in this case is Monday through Friday. Thanks in advance.
DateFrom: =format(dateadd("d",-1,Now()),"M/d/yyyy")
DateTo: =format(dateadd("d",1,Now()),"M/d/yyyy")
This effectively gives me all records for yesterday. But I would like to use a subscription on this report and have the default values take into account weekends. Can anyone tell me a way to change to date parameters to only select weekdays, which in this case is Monday through Friday. Thanks in advance.