I am generating a report about sales and want to know if there is a way to calculate an aggregated column based on dates. e.g. Data stored in a matrix is orders, column is month and calender year. each month shows 3 years. I want the calculated field to take the most recent months and calculate the percentage change between them. see the following image to understand what I mean.
As you can see there are 3 years. I want to ignore 2008 and wnat my calculated field to do the percentage value of increase from 2009 to 2010. The design of this is shown in following image.
Regarding the other question, see the following images:
In the design view my matrix looks like this:
The output is report is:
The original data is:
And I just want to see the recent 2 years and ignore the rest of the years, like follows:
Thank you all in advance