SSRS – set a default parameter to the first day of the month

Just enter one of these expressions into the default parameter box when you’re setting up parameters in SQL Server Reporting Services:

=DateSerial(Year(Now), Month(Now), 1) for first day of the month and
=DateSerial(Year(Now), Month(Now)+1, 0) for the last day of the month.

By simplemsexchange Posted in SSRS

Leave a comment