I am trying to write a calculation to provide the Rolling Headcount at the end of the period for Team Members with Length of Service <= 365 days.
I have a validated calculation to calculate the headcount at the end of each month (Fig 1. NH - Headcount by LOS).
I have tried a few different ways to write the Rolling Headcount calculation utilising PERIODROLLING (Fig 2. TEST NH - Rolling 12 Month Headcount) however I do not seem to be able to get this correct. Fig 3 shows the table populating the Headcount at the end of each month and the incorrect rolling headcount data.
Any thoughts on the correct calculation for Rolling 12 Month Headcount?
Thanks Scott