We have a relational data base and so this answer may not work for cubes.
I compare the current year to the prior year in many of our reports. Create a data item that extracts the year from (current_date). This will always be the current year. We work on a fiscal year that begins July 1st, so I have to do a bit of extra coding for that. This example shows the Oracle Sysdate function, but you can use the current_date instead.
IF ([Month] > 6 ) THEN
(extract ( year, {sysdate}))
ELSE
(extract ( year, {sysdate})+1)
You didn't ask but to keep only current selections, I'll often filter the results to only records greater than (current year - 3). Then year to year, the report always displays the last three years of data.
------------------------------
Jeanie Krieger
Business Analyst
California State University, Sacramento
Sacramento CA
------------------------------