Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Does anyone here how to get the Employee turn over? That it will show like this?
I tried this reference: Power BI: Employee turnover rate template - Finance BI (finance-bi.com)
but it doesn't seems to work, it only shows me no visual data.
I also have this date table use for filter:
Solved! Go to Solution.
Hi @tebtim19 ,
I use the following formula to calculate the employees turnover rate for each month.
Employees who left =
CALCULATE(
COUNT(Employees[Employee]),
FILTER(
Employees,
MONTH(Employees[End Date]) = MONTH(MAX(Dates[Date]))
&& YEAR(Employees[End Date]) = YEAR(MAX(Dates[Date]))
)
)
Employees at the end =
CALCULATE(
COUNT(Employees[Employee]),
FILTER(
Employees,
OR(
ISBLANK(Employees[End Date]),
Employees[End Date] > MAX(Dates[Date])
)
&& Employees[Start Date] <= MAX(Dates[Date])
)
)
Employees at the beggining =
CALCULATE(
COUNT(Employees[Employee]),
FILTER(
Employees,
Employees[Start Date] <= MAX(Dates[Date])
)
)
Employee Turnover Rate =
COALESCE(
DIVIDE(
[Employees who left],
( [Employees at the beggining] + [Employees at the end] )/2
),
0
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tebtim19 ,
I use the following formula to calculate the employees turnover rate for each month.
Employees who left =
CALCULATE(
COUNT(Employees[Employee]),
FILTER(
Employees,
MONTH(Employees[End Date]) = MONTH(MAX(Dates[Date]))
&& YEAR(Employees[End Date]) = YEAR(MAX(Dates[Date]))
)
)
Employees at the end =
CALCULATE(
COUNT(Employees[Employee]),
FILTER(
Employees,
OR(
ISBLANK(Employees[End Date]),
Employees[End Date] > MAX(Dates[Date])
)
&& Employees[Start Date] <= MAX(Dates[Date])
)
)
Employees at the beggining =
CALCULATE(
COUNT(Employees[Employee]),
FILTER(
Employees,
Employees[Start Date] <= MAX(Dates[Date])
)
)
Employee Turnover Rate =
COALESCE(
DIVIDE(
[Employees who left],
( [Employees at the beggining] + [Employees at the end] )/2
),
0
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
97 | |
87 | |
77 | |
67 | |
63 |
User | Count |
---|---|
111 | |
96 | |
96 | |
67 | |
63 |