Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Monthly count of workers based on hire and termination date

MHS
8 - Asteroid

Hello Alteryx Community!

 

I am having issues with a reporting request which I was hoping the group could assist with.  I need to derive a count of active employees by month based on their hire and termination date.  I don't want to count partial workers so an employee would need to be active at the company for the entire month and excluded if they were hired or terminated some time during that reporting month.  I have tried converting the hire and termination dates in to a month-year format, but am getting caught up with identifying which employees fall in or out of that reporting period and how to count results.  Any assistance or suggestions would be greatly appreciated.

 

Input:                                                                                                              

Namehiredateterminationdate
Vicky7/24/19785/1/2023
Dianna5/11/1981 
Phillip9/21/1981 
James5/21/1990 
Darwin12/29/1986 
Lydia3/9/19871/6/2023
Matt6/5/2006 
Carrie2/22/1984 

 

Output:

Reporting periodSample
Jan-231200
Feb-231050
Mar-23955
Apr-231354
May-231267
Jun-231492
Jul-231560
Aug-231401
Sep-231232
Oct-231752
Nov-231403
Dec-231122
2 REPLIES 2
binuacs
20 - Arcturus

@MHS what is the logic for calculating sample 1200 in Jan 2023?

MHS
8 - Asteroid

None, its just an example of the output that I would like to calculate.

 

I need to calculate how many employees are active per month taking into account hire and termination dates.

Labels