How to set SSRS date parameter default value to previous day?


Setting the default value for parameters like today’s date & current month is great because that way consumer do not need to manually input the parameter value. I was working on a requirement to pass previous day to the date parameter.

So here’s the quick tip to set the default value of the date parameter to previous day.

[code type=”sql” gutter=”false”]

SSRS date time parameter previous day

What do you think? Leave a comment below.