HR attrition dashboard (Power BI)
Show why employees leave: attrition by department, salary, overtime and tenure, with slicers a manager can use.
Beginnerโฑ 6โ10 hours๐ช 7 stepsPower BIDAXPower Query
What you'll learn
- โPower Query cleaning
- โDAX measures
- โDashboard layout and storytelling
What you'll build
- โKPI cards: headcount, attrition rate, average tenure
- โAttrition by department, age band and overtime
- โSlicers for gender, department, job level
- โDrill-through to employee list
Step-by-step guide
- 1
Dataset
Use the public "IBM HR Analytics Employee Attrition" dataset.
- 2
Power Query
Load the CSV, set data types, create Age Band and Tenure Band columns.
- 3
DAX measures
Attrition Count = CALCULATE(COUNTROWS(HR), HR[Attrition] = "Yes"); Attrition % = DIVIDE([Attrition Count], COUNTROWS(HR)).
- 4
Visuals
Cards for KPIs, clustered bars by department, a matrix of job role ร overtime, a line by years at company.
- 5
Interactivity
Slicers and a drill-through page listing employees for the selected group.
- 6
Design
One colour for "left", neutral for "stayed"; titles that state the insight ("Overtime triples attrition").
- 7
Share
Publish to the web (if allowed) or export a PDF and screenshots for your portfolio.
๐ Make it stand out
- +What-if parameter for salary hike
- +Key influencers visual
- +Row-level security by department