Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Dynamic Date parameter in SSRS

Author  Topic 

Villanuev
Constraint Violating Yak Guru

478 Posts

Posted - 2014-06-11 : 02:50:06
Hi

I have an SSRS report with date parameters.
I wanted to dynamically change both the dates if the time falls at 6:00AM of the next day.

Example:
Today is 6/11/2014

SSRS Parameter
FROM DATE: 6/11/2014-------TO DATE: 6/12/2014

Tomorrow 6/12/2014 at 6:00AM the date parameter should be like this
FROM DATE: 6/12/2014-------TO DATE: 6/13/2014

6:00AM of the current day will start the 1st shift until 6:00PM (12hrs) while the 2nd shift start at 6:00PM of the current date until 6:00AM of the next day.


Thank you in advance.



Villanuev
Constraint Violating Yak Guru

478 Posts

Posted - 2014-06-15 : 20:14:12
Solved.
Go to Top of Page
   

- Advertisement -