Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |