Hi Lavanya
I would prefer to do it in Calculation View.
Either I would create a fresh calculation view or I shall put already existing analytic view in a graphical calculation view.
This is because Calculation View supports complex filter eka Filter Expression.
Step 1: Attach the Analytic View in Projection Node.
Step 2. Creation Input Parameter on the Cal View
Step 3; In filter expression put the following syntax
"YEAR" = '$$USER_YEAR$$' OR "YEAR" = ( '$$USER_YEAR$$' - 1 )
Let me know for any issue.
Cheers
Anindya