set SSRS date parameter default value to previous date(getdate()-1

  • Hi,

    What is the expression to set the default date of date parameter to getdate()-1. I want the SSRS report to choose the Startdate as previous date and end date as current date.

    I set the default value of parameter as =Today(), which displays current date, how to set it to previous date? Any ideas what should be the expression?

    Thanks

  • =Dateadd("d",-1,Today())

  • Thanks Howard!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply