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”]
=Dateadd("d",-1,Now())
[/code]