Forum Discussion

tobiasmcbride's avatar
tobiasmcbride
Helper III
6 years ago

Data rolling measure question

Hi,

 

I have some Headcount data that includes the position, team, when they started and, if applicable, when they left, together with what positions are established and those who have left. It is formatted like this with example data:

 

PositionDepartmentStart DateEnd DateCurrent Status
Head of MarketingMarketing01/01/2017 Established
Head of BusinessMarketing01/06/201704/05/2019Left
Head of TechnologyTechnology01/06/2020 Offer

 

I would like to be able to model attrition as a % of current workforce. Specifically I want to be able to model a rolling count of the last 12 months (calculated I'd imagine by doing a rolling 12 month count of the dates in the 'End Date' Column in the past from today back 12M) and taking that as a % of the count of employees marked on the Excel import column (Current Status) as 'Established'. 

 

I am able to do a rolling count of raw numbers but need to have a way of making this dynamic such that it updates with the current date and looks backwards 12M and taking that as a % of the total number of employees marked as established at this current date.

 

Hope that makes sense as struggling to do so. Any assistance would be greatly appreciated.

 

 

2 Replies