Hi Shan, this is a simple Restricted Key Figure case. Your "Keyfigure Current Year" is a RKF where you restrict your KF by a variable on Year which populate the value of the current year. The second column is another RKF with the same valriable and offset of -1.
BTW, there is no attachment
Thanks,
MJ