waseemshaikh345 (6/16/2014)
I am using SQL server 2008R2
OK, so TSQL windowing functions are out of the picture unfortunately.
Although still perfectly possible in TSQL, you can calculate a YTD in SSRS itself:
Cumulative Aggregates in SQL Server Reporting Services[/url]
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP