HR Analytics Assessment
HR Analytics Assessment
HR Analytics Assessment
1. Using Excel, how would you filter the dataset to only show
employees aged 30 and above?
2. Create a pivot table to summarize the average Monthly Income
by Job Role?
job role Average of MonthlyIncome
Healthcare Representative 60983.74046
Human Resources 58528.07692
Laboratory Technician 66314.05405
Manager 63395.88235
Manufacturing Director 69183.72414
Research Director 65473.125
Research Scientist 64975.68493
Sales Executive 65186.68712
Sales Representative 65370.96386
Grand Total 65029.31293
3. Apply conditional formatting to highlight employees with
Monthly Income above the company's average income?
4. Create a bar chart in Excel to visualize the distribution of
employee ages.
5. Identify and clean any missing or inconsistent data in the
"Department" column.
6. In Power BI, establish a relationship between the "EmployeeID"
in the employee data and the "EmployeeID" in the time tracking
data.
7. Using DAX, create a calculated column that calculates the average
years an employee has spent with their current manager.
8. Using Excel, create a pivot table that displays the count of
employees in each Marital Status category, segmented by
Department.
1600
1400 1350
1200
1000 912
Divorced
800
Married
621
573 Single
600
426
400 339
200
96 72
21
0
Human Resources Research & Development Sales
9. Apply conditional formatting to highlight employees with both
above-average Monthly Income and above-average Job Satisfaction.
10.In Power BI, create a line chart that visualizes the trend of
Employee Attrition over the years.
11. Describe how you would create a star schema for this dataset,
explaining the benefits of doing so.
Primary key of fact table: - “Employee ID”
Dimension Tables:
• Manager Details
• Employee Data
• Time Data
The benefits of Star Schema:
Simpler Queries – Join logic of star schema is quite cinch in comparison to
other join logic which are needed to fetch data from a transactional schema
that is highly normalized.
Simplified Business Reporting Logic – In comparison to a transactional schema
that is highly normalized, the star schema makes simpler common business
reporting logic, such as of reporting and period-over-period.
Feeding Cubes – Star schema is widely used by all OLAP systems to design OLAP
cubes efficiently. In fact, major OLAP systems deliver a ROLAP mode of
operation which can use a star schema as a source without designing a cube
structure.
Scalability-Star schemas are scalable and flexible, allowing for the addition of
new dimensions or facts without disrupting the existing structure. This
scalability is crucial for accommodating evolving business requirements and
data growth.
12. Using DAX, calculate the rolling 3-month average of Monthly Income for
each employee.
13. Create a hierarchy in Power BI that allows users to drill down
from Department to Job Role to further narrow their analysis.