Project · HR attrition dashboard
An early-warning list of 295 current employees with three or more risk flags
The problem
An HR team sees one in six employees leave but cannot tell where it happens, why, or who will go next, so retention money gets spread across everyone.
The solution
A Power BI report on a clean star schema that shows where people leave, the drivers behind it and a risk score for every employee, ending in five actions, each with a KPI and an owner.
How it works
- Clean: 1,470 employees, 35 columns, cleaned in one Power Query step
- Model: A star schema: one employee fact, seven dimensions, one-way filters
- Measure: 15 DAX measures; outliers by the 1.5 × IQR rule
- Score: Six risk flags: overtime, single, entry level, no stock options, two years or less, low satisfaction
- Show: A home page and three pages: overview, drivers, trends and outliers
- Act: Five actions with a KPI and owner each, and who to talk to first
A closer look





The code
Risk Flags =
VAR _OverTime = RELATED ( dim_overtime[OverTime] ) = "Yes"
VAR _Single = RELATED ( dim_marital_status[MaritalStatus] ) = "Single"
VAR _EntryLevel = fact_employee[JobLevel] = 1
VAR _NoStock = fact_employee[StockOptionLevel] = 0
VAR _EarlyTenure = fact_employee[YearsAtCompany] <= 2
VAR _LowEnvSat = fact_employee[EnvironmentSatisfaction] = 1The impact
- Where: Sales has the highest rate; Sales Representatives leave at 39.8%.
- Why: overtime staff leave at 30.5% against 10.4%; the first two years hold 43% of leavers.
- Who next: 295 current staff carry three or more of the six flags.
- What to do: five actions, each with a KPI and an owner.
The result
1,470 employee records: attrition climbs from 4.6% with no risk flags to 75% with five, and 295 current staff carry three or more.