Today and Yesterday the Default Parameters

So you might already know this, I didn’t and it kicked my ass for 30 minutes.

So you have a report deployed in reporting services, it takes date parameters, you want it to execute lets say…between Yesterday and Today…

Yesterday =Today.AddDays(-1)
Today =Today()

Cheers

Leave a Reply

Your email address will not be published. Required fields are marked *