This Business Intelligence (BI) project focuses on analyzing HR attrition data using Power BI, aiming to uncover critical workforce trends and support strategic retention efforts. Over a 4-week timeline, the BI team collaboratively transformed raw HR data into insightful dashboards and actionable recommendations.
- Identify key drivers of employee attrition.
- Provide a data-driven foundation for HR decision-making.
- Visualize demographic, satisfaction, and performance patterns.
- Recommend strategic initiatives for retention and equity.
Team Members:
- Ahmed Mohsen (Me)
- Abdulrahman Hasib
- Ahmed Ibrahim
- Ibrahim Ahmed
- Ali Gamal
- Huda Moussa
Tools & Technologies Used:
- Power BI
- Power Query (M Language)
- DAX (Data Analysis Expressions)
- Microsoft Excel
Week | Phase | Key Activities |
---|---|---|
1 | Research & Planning | Define scope, understand dataset, set communication plans |
2 | Data Cleaning | Remove duplicates, transform columns, create conditionals |
3 | Modeling & DAX Development | Build star schema, apply calculated fields and relationships |
4 | Dashboarding & Finalization | Create dashboards, validate insights, compile recommendations & presentation |
The dataset included employee records with columns such as:
- Age, Education, Gender, Job Role, Department
- Attrition (Yes/No)
- ReviewDate, Job Satisfaction, Performance Rating
- Business Travel, Overtime, Hire Date
Performed in Power Query:
-
Removed Duplicates:
Ensured unique and valid employee records. -
Added Conditional Columns:
- Mapped
Education
levels (1–5) →"Below College"
to"Doctor"
. - Grouped
Age
into ranges (18–25
,26–38
, etc.). - Converted
Attrition
→"Still Working"
/"Left The Company"
.
- Mapped
-
Custom Columns:
EndDate
&InvalidReview
to identify and filter faulty data.
-
Standardization:
- Replaced inconsistent values.
- Transformed column types using
Table.TransformColumnTypes
.
Implemented a star schema model with fact and dimension tables.
FactEmployee
: Tracks attributes like Department, Travel, Education.FactPerformanceRating
: Contains ratings and review dates.
DimDate
: Time hierarchy (DayName, DayNumber, etc.).DimSatisfactionLevel
/DimRatingLevel
: Satisfaction scales.
Relationships were established using
EmployeeID
and temporal keys to support slicing data across different perspectives.
The Power BI dashboard was divided into 4 key pages:
-
Overview:
-
Demographics:
-
Performance Tracker:
- Individual employee satisfaction and performance over time.
-
Attrition Insights:
Each visual enabled drill-through and filtering for deeper exploration.
Custom metrics were calculated using DAX, including:
- Attrition rate by department and job role.
- Time intelligence metrics: Year, Month, Day from
ReviewDate
. - Measures to track satisfaction averages and performance over time.
-
Target Age Group 18–30:
Introduce mentorship programs to retain younger employees. -
Ethnicity Pay Gap:
Perform salary audits and implement transparent pay scales. -
New Hire Support:
Improve onboarding and offer early-career mentorship. -
Overtime Risks:
Redistribute workload or hire to ease excessive hours. -
Travel Frequency:
Balance business travel assignments across staff.
- Strategic Value: Helped HR visualize critical metrics and formulate retention strategies.
- Team Collaboration: Effective use of cloud tools, regular check-ins, and defined task ownership led to successful project execution.
- Challenges Overcome: Initial data complexity was addressed through iterative cleaning and modeling.
This BI project provided the organization with a scalable, interactive, and insightful dashboard that transformed raw HR data into actionable decisions for reducing attrition, enhancing satisfaction, and driving organizational growth.