Dynamic lookup index in lag calculation

Based two different Year&Month from parameter find the month difference. Pass the month difference to lookup index in lag calculation

Hi @SK20, This looks like a duplicate post regarding the same issue as here; is that correct or is this in reference to a separate issue? If separate, please include some additional information to help with context.
If this is referencing the same issue covered in your other post, please refer to the other page for future communication so that we don’t have duplicate posts in the community.

Thank you