# HR attrition and headcount

> Terminations by department, exit reasons side by side, and salary spread by job level, to show where people are leaving and whether pay is why.

Use cases · 7 min read · Updated 2026-11-26

When a team says it's losing people faster than it can hire, you need three answers fast: is it real, where is it, and why. This guide builds the people dashboard that answers all three.

![The Employee Attrition and Pay Overview dashboard in Present mode: Department and Location slicers, Active Headcount 2K and H1 2025 Terminations 147, terminations by department led by Engineering at 82, and 2025 termination reasons by department with Compensation dominating Engineering](https://app.goldenanalytics.com/api/help/public-image?object=6d8d8361-5656-44a8-92b2-aadae36ad8d1%2F1795719506475-00-present-mode.png)

### The question

Lena is Head of People. Engineering leads say attrition spiked this year. Finance wants a headcount number for the board pack. Lena needs to confirm whether it's real, where it's concentrated, and whether pay explains it.

If your attrition report is a spreadsheet of exits you sort by hand, it's time for this.

### The data

The sample file is `employees.csv`: 3,000 people hired from 2015 through June 2025, one row each.

| Column | What's in it |
| --- | --- |
| Employee ID, Name | One row per person ever hired |
| Department | Engineering, Sales, Marketing, Customer Success, Finance, People, Operations |
| Job Level | L1 to L6 |
| Location | Seven offices plus Remote |
| Hire Date, Termination Date | Termination Date is blank while active |
| Termination Reason | Career Growth, Compensation, Relocation, Personal, Performance, Restructuring, Retirement |
| Salary | Annual |

### Build it

1. On Home, click **Start an analysis**, open **Files** and drop in `employees.csv`.
2. Go to **Analyze**. In **Start your dashboard**, type this into **Describe it...**:

```
Build an HR dashboard from employees. KPI cards for active headcount (employees with no Termination Date) and terminations in H1 2025. Add a bar chart of terminations in H1 2025 by Department, a 100% stacked bar of Termination Reason by Department for terminations in 2025, a box plot of Salary by Job Level, and a histogram of Salary. Include a slicer for Department and one for Location.
```

### What you'll find

### Where people are leaving

Engineering lost 82 people in the first half of 2025, more than every other department combined. The 100% stacked bar shows why: Compensation is the largest exit reason in Engineering, while other departments leave for a mix of reasons.

![H1 2025 Terminations by Department with Engineering at 82, Sales next and Finance lowest at 5, next to 2025 Termination Reasons by Department as 100% stacked bars with Compensation taking about half of Engineering](https://app.goldenanalytics.com/api/help/public-image?object=6d8d8361-5656-44a8-92b2-aadae36ad8d1%2F1795721138086-02-terminations-and-reasons.png)

### Whether pay explains it

The box plot shows each job level's salary range. L3 has by far the widest band, from about $82K to $178K, so two people at the same level can be paid very differently. That's where to look first. The histogram shows the overall spread, from $52K to $290K.

![Salary Distribution by Job Level as box plots from L1 to L6, with L3's box and whiskers far wider than the others, next to a Salary Distribution histogram in $20K bins](https://app.goldenanalytics.com/api/help/public-image?object=6d8d8361-5656-44a8-92b2-aadae36ad8d1%2F1795721138243-03-salary-box-plot-histogram.png)

Use the **Department** slicer to focus every chart on Engineering.

> **Tip:** Attrition rate is exits divided by average headcount over the period. Ask chat for "attrition rate by department for H1 2025" to put the 82 exits in context of team size.

### Make it yours

An HRIS export with a hire date, a termination date and a department is enough. Add level, location and salary for the pay views.

### FAQ

**How do I count active employees?** Count people with no Termination Date. Chat builds that filter when you describe it, as in the prompt above.

**Is salary data safe to share?** Share the dashboard only with people who should see pay. See [Team settings](https://goldenanalytics.com/docs/team-settings) for roles.

**Can I show the reasons as counts instead of percentages?** Yes. Ask chat to change the 100% stacked bar to a stacked bar.

Source: https://goldenanalytics.com/docs/use-case-hr-attrition-headcount
