Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello - I am new to Qlickview, and trying to build a variable to calculate employee attrition but running into issues. Any insights appreciated. Thanks.
Objective
Calculations -
Turnover Formula: Turnover Rate = Total terminations / Average Headcount
In Quikview:
Problem
Data Structured
Record Month | Record Year | Record Type | Dimension 1 | Dimension 2 | Ending Headcount | Termination Count | |
Jan | 2017 | Snap | Group1 | Orgx | 1 | ||
Jan | 2017 | Snap | 1 | ||||
Jan | 2017 | Snap | 1 | ||||
Jan | 2017 | Activity | 1 | ||||
Dec | 2016 | Snap | 1 | ||||
Dec | 2016 | Snap | 1 | ||||
Dec | 2016 | Snap | 1 | ||||
Dec | 2017 | Activity | 1 | ||||
Dec | 2016 | Activity | 1 | ||||
…. | |||||||
Feb | 2016 | Snap | 1 | ||||
Feb | 2016 | Snap | 1 | ||||
Feb | 2016 | Snap | 1 | ||||
Feb | 2016 | Activity | 1 | ||||
Feb | 2016 | Activity | 1 | ||||
Feb | 2016 | Activity | 1 |
Its almost a year old post. But wanna give a try to see whether it works or no. So that it might be useful for someone else.
count(if(RecordYear(Today()-365)=RecordYear,TerminationCount))