Case study, people analytics

Workforce Attrition Review

The brief I set myself: you are the HR lead of a ~200-person company. Why are people leaving, what is it costing, and what should you do first?

310

employees, 2006 to April 2017, from a public HR dataset

136/136

months where my rebuilt headcount matches the source

7

dashboard tabs, from executive summary to data notes

Live dashboard

Use the filters above the charts to drill in. It is read-only, so nothing you click changes the data.

Open full screen

The first load can take a few seconds while the server wakes up.

Approach

The way I build people data at work, in three steps.

01Define

KPIs first

Headcount, attrition, regrettable and early exits, 12-month retention and cost of attrition, written down before any chart, so every tab uses the same definition.

02Clean, reconcile

One source of truth

Three SQL models fix labels, classify exits and flag a conflicting record. The rebuilt headcount matches the source's own table at month end in every month.

03Answer

Lead with the cost

An executive summary opens with the cost and four findings. Group sizes on every rate, rates hidden below 20 people, managers anonymised.

Findings

At a 30% replacement-cost assumption, averaged over 2011 to 2016.

$285k a year

What attrition costsAbout 2% of payroll

101 people left in six years; each exit means recruiting, onboarding and lost output.

13.5% vs 7.5%

Production drives it81 of 101 exits

Bringing Production down to the rest of the company's rate is worth about $84k a year.

31%

Early exitsLeft within the first year

Recruiting spend that never pays back; cutting it by a quarter saves about $22k a year.

51%

The 2011 hiring waveStill employed after 3 years

Against 82 to 89% for later cohorts: fast hiring brought fast leaving.

What I would recommend

  • Production retention reviewStay interviews, shift patterns and pay versus market for technician roles, targeting the rest-of-company rate.
  • Structured onboarding30, 60 and 90-day check-ins, with 12-month retention tracked by hiring cohort.
  • Manager supportStart with the three teams that lost more than half of everyone they managed.
  • Data hygieneAdopt end-of-month headcount as the official definition and block conflicting records at entry.

A separate public sample (IBM HR Analytics, 1,470 employees) shows the risk drivers: people working overtime were 2.9 times as likely to leave (95% confidence interval 2.3 to 3.7).

Data and caveats

Built with SQL, Metabase and PostgreSQL on Azure. All data is public sample data about fictional people; no employer's data is used. Cost figures depend on the replacement-cost assumption, which viewers can change on the dashboard. Findings are associations, not proof of cause.

Want the walkthrough?

I'm happy to talk through the SQL, the definitions and the trade-offs behind any chart.