SSRS Report - Changing Start Date Parm Causes Failure

Dom 751 Reputation points
2023-03-25T23:29:13.8433333+00:00

I have an SSRS report that is set up to run with a default START date of the first of this year.

=DateAdd("d",-DatePart(DateInterval.DayOfYear,Today,0,0)+1,Today)

Works fine. User wants it now to start at 01.01.2014. Sounds soooo simple but I have spent hours to no avail. If I run the report from the SSRS portal and then change the start date manually to 01.01.2014, it runs just fine. In VS, I open the RDL and go to modify the Start parm as follows:

=cdate("01/01/2014")

I get this ridiculous error :

2023-03-25 19_15_39-Window

It successfully changes the parm, but I am not willing to deploy until I can see successful results. Again, running the report from the SSRS portal with the exact same parameters works fine. Please advise how to correct.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,628 questions
{count} votes