I was trying something new, using matrix and only want to see the recent two years and i made 2 columns. The first column had this expression '=MAX(Fields!Year.Value)-1' and the second column has the expression '=MAX(Fields!Year.Value)'. I expected to only see 2 year columns but it shows all of them and on the last column it sums up all the orders. See the photos below:
In the design view my matrix looks like this:
The output in report is:
The problem is that year 2007 only exists in another year and month, but i dont know why it shows up here. see the image next to see the original data.
The original data is:
And I just want to see the recent 2 years and ignore the rest of the years, like follows:
Thanks in advance.