Forum Discussion
Brianoreilly
7 years agoHelper II
Employee Attrition Non Standard Calculation. Need Help!
Hi Folks, I have a problem calculating Employee Attrition and retention in my Org. Reasoning being, that it is a non standard way. I currently have a WB that is calculating the standard w...
v-yulgu-msft
7 years agoMicrosoft Employee
Hi Brianoreilly,
After testing with your sample file, I have worked outsome of your requirements.
But you need an extra calendar table which is unrelated to the Employee Table. Then, add date field from the second calendar table into slicer.
count (month) =
DATEDIFF ( MIN ( 'Calendar2'[Date] ), MIN ( 'Calendar'[Date] ), MONTH ) + 1
Cumulative Leavers End Headcount =
SUMX (
FILTER (
ALLSELECTED ( 'Calendar' ),
'Calendar'[Year Month] <= MIN ( 'Calendar'[Year Month] )
),
[Total leavers]
)
Best regards,
Yuliana Gu
Brianoreilly
7 years agoHelper II
Hi Yuliana,
I can't seem to get this to work.
Could you send me on your solution file.
Would be really appreciated.
Thanks.
Brian