Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

how to make one table display 2014 data, second table 2013 data, in same report?

$
0
0
I have an ssrs report that takes two parameters: @Division and @Year. It's made up of a list item grouped by Division, inside of which are two tables grouped by Year.Both tables are displaying same information:rows:number of referralsnumber of move-inscolumns:months of the yearRight now they display identical data, but I need one table to display data for the year passed in as parameter, and the second table to display data relevant only to the the *prior* year of whatever is passed by @year. That way both tables reporting on same stuff, different time frames.I have tried to set expression in the Group Properties for the year row group of the second table to:=Fields!Year.Value - 1, but this doesn't work.Eventually I need to bring in one more table that shows same data but for @Year -2!How can I do this?

Viewing all articles
Browse latest Browse all 2791

Trending Articles