← All projects
Power BI

HR Attrition Analytics

A 4-page Power BI report on 1,470 employees that shows who leaves, why they leave, and which current employees are most likely to leave next, with a simple flight-risk score and a retention watch list.

DateDec 2026
ToolsDAX, Power Query, Data Cleaning, Data Modeling, Report Page Tooltips, Conditional Formatting, Data Storytelling
HR Attrition Analytics
1,470 employees, 237 leavers (16.1% attrition)
Overtime triples attrition (30.5% vs 10.4%)
105 current employees flagged as high flight risk

The problem

Losing employees is expensive, and most HR reports only count who left. This report answers three questions: who is leaving, why, and who is likely to leave next, so HR can act before people resign.

Data cleaning

The IBM HR Analytics sample (1,480 rows, 38 columns) needed work in Power Query:

  • Removed 10 duplicate employee records, leaving 1,470
  • Merged an inconsistent category (“TravelRarely” and “Travel_Rarely”)
  • Converted “NA” values to blanks and dropped three columns that held the same value for everyone
  • Added sort orders, readable labels for the 1–4 survey scores, and tenure and distance bands

What’s in the report

Overview: six KPIs with icons, plus attrition rate by job role, age, tenure, department, overtime, salary and marital status. Every bar is coloured with one rule: coral means 1.5× the company rate or more, amber means above average, teal means below.

Drivers: a leavers vs stayers comparison (income, age, tenure, commute, overtime, raises), the four satisfaction scores, travel, job level, stock options and distance from home.

Drivers page

Flight Risk: a rule-based score that counts eight risk factors per employee (overtime, entry level, single, pay under 5k, low satisfaction, frequent travel, first year, no stock options). Checked against history, attrition rises from 4% with no factors to 90% with seven. The page also has a job level × overtime heatmap and a watch list of 105 current employees with 5+ factors, each with the reasons spelled out.

Flight Risk page

Insights & Actions: an executive summary, six findings, recommendations for HR, compensation and managers, and caveats.

Insights & Actions page

Interactivity:

  • Custom tooltips with a dynamic title that names the bar you hover over, for example “Sales Representative” or “Age 18-25”. Each shows the rate in its risk colour, a status label, a comparison such as “2.5× the company rate”, and four icon tiles.
  • Synced Department, Gender and Age filters across pages.
  • Page navigation buttons.

Key insights

  • Overtime triples attrition: 30.5% vs 10.4%. Entry-level staff on overtime leave at 52.6%.
  • Young and new employees leave first: 35.8% of 18–25 year-olds and 34.9% of first-year staff.
  • Some roles lose people fast: Sales Representatives 39.8% and Lab Technicians 23.9%, vs Research Directors at 2.5%.
  • Pay matters: 21.8% attrition for earners up to 5k vs 3.8% above 15k. Leavers earned about 30% less on average.
  • Engagement gives early warning: low job involvement 33.7%, bad work-life balance 31.2%.

Outcome

HR gets a ranked list of people to talk to, not just a historical rate: hold stay interviews with the 105 high-risk employees, strengthen the first year, cap overtime for entry-level staff, and review pay and stock options for the most exposed groups.

📄 Download the full report (PDF)