• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Pivot with slicers - Employee Data, Term data

zeeworld

New Member
Good day,

I want to start by saying how grateful I am for this community. This forum has helped me before as I am not the strongest when it comes to excel. I have had pivot table in my mind for a long time and haven't come close to my vision. Please find attached sheet with dummy data. I am trying to see how I can capture info in slicers /pivot or better visual format then a table:

Active Employee Data
New Hire for the month slicer
Term for the month slicer
Turn over data in graphs

I get asked certain types of reports a lot from my department and they want quick answers like what has been the turn over for month to month or yearly, how many hire we have had and all their info, what was terms in this month.... etc

Looking for a better way to capture my info. I would appreciate any help that can start me somewhere. Thanks.

Best regards,
Zeeworld
 

Attachments

  • dummy data.xlsx
    10.9 KB · Views: 10
Hi,

Why do you have two tables?
In order to calculate churn, you need to know at which point in time you have active employees. That info is missing for the two terminated contracts.
Having this in a single table allows you to create DAX measures inside Power Pivot. You'd be needing a calendar table, but that is easily created in the Power Pivot window.
I'll maybe have a closer look later.

Data can be something like.

First NameLast NameDate of HireDate of TerminationJob TitleSupervisorCost CenterWork LocationStatusSalary
AliciaBrown
3/04/2020​
CoordinatorMendez, MariaABKJMontrealActive
40.000​
MistiSlides
9/03/2019​
Customer Service RepBrown, HopeKJUNSan FranLOA
53.000​
AminSkorski???
7/05/2021​
ManagerMendez, MariaABKJMontrealTerm
40000​
MilanMehta???
4/07/2020​
LeadBrown, HopeKJUNSan FranTerm
53000​
 
Hi @GraH - Guido I thought i would need to separate the data in order to visualize new hire and terms separately but now I have made it one table. Please see attached.

Thanks
 

Attachments

  • dummy data.xlsx
    10.9 KB · Views: 7
Hi again, would this do?
First NameLast NameDate of HireDate of TerminationJob TitleSupervisorCost CenterWork LocationStatusSalaryEmployeeID
AliciaBrown
3/04/2020​
CoordinatorMendez, MariaABKJMontrealActive 40.000
7​
MistiSlides
9/03/2019​
Customer Service RepBrown, HopeKJUNSan FranLOA 53.000
3​
AminSkorski
10/11/2018​
7/05/2021​
ManagerMendez, MariaABKJMontrealTerm 40.000
2​
MilanMehta
22/12/2017​
4/07/2020​
LeadBrown, HopeKJUNSan FranTerm 53.000
1​
BrownMilan
3/09/2020​
CoordinatorMendez, MariaABKJMontrealActive 40.000
8​
SlidesAlicia
9/03/2020​
10/04/2020​
Customer Service RepBrown, HopeKJUNSan FranTerm 53.000
6​
SkorskiAmin
10/11/2019​
ManagerMendez, MariaABKJMontrealActive 40.000
4​
MehtaMisti
22/11/2019​
LeadBrown, HopeKJUNSan FranActive 53.000
5​

74439

Please note, I'm not a specialist in DAX, like @Chihiro or @John Jairo V, so my approach may not be optimized.
You can also google "HR analytics via DAX" to find alternative solutions.
 

Attachments

  • Copy of dummy data-2_chandoo46235.xlsx
    348.3 KB · Views: 5
Back
Top