I ask to compute attrition rate from two different data sources. I have 2 different sources:
1st: employee headcount (one row per employee) which has all employee details such as Name, ID, Date of Joining, Supervisor name, Department etc.
2nd: showing data for employees who resigned
I need to compute the attrition rate for selected Group and selected months. Groups and months will be selected from slicers.
the attrition function is: Sum of Leavers / Average monthly Headcount
this function must consider the slicer filter ex: if I select one group with one month the function will be
Sum of Leavers for this group and this month / Average monthly Headcount for this group and this month
and used measure, unfortunately, give non-valid results
Attrition.pbix file
gratefully,
1st: employee headcount (one row per employee) which has all employee details such as Name, ID, Date of Joining, Supervisor name, Department etc.
2nd: showing data for employees who resigned
I need to compute the attrition rate for selected Group and selected months. Groups and months will be selected from slicers.
the attrition function is: Sum of Leavers / Average monthly Headcount
this function must consider the slicer filter ex: if I select one group with one month the function will be
Sum of Leavers for this group and this month / Average monthly Headcount for this group and this month
and used measure, unfortunately, give non-valid results
Attrition.pbix file
gratefully,