Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Timeline and hours to months of the year

mojomathers
6 - Meteoroid

I have an extract from Monday.com that I would like some help with. We would like to use the xlsx output (example below) to monitor how busy people are on a monthly basis. In order to do this, the Hours should be divided across the months in the Delivery Timeline - Start and Delivery Timeline - End (see second example).

 

Can anyone help with how to do this?

 

ClientEmployeeGradeDelivery Timeline - StartDelivery Timeline - EndHours
ABCJimSales rep2023-06-142023-08-1430
ABCPamReceptionist 2023-09-062023-10-0620
ABCDwightAssistant to the Regional Manager2023-08-142023-08-1430
DEFMichaelRegional Manager2023-08-292023-08-2950
DEFKevinAccounts2023-08-012023-09-0110
DEFAndySales rep2023-08-242023-09-2510

 

 

Desired output:

 

ClientEmployeeGradeJunJulAugSepOct
ABCJimSales rep101010  
ABCPamReceptionist    1010
ABCDwightAssistant to the Regional Manager  30  
DEFMichaelRegional Manager  50  
DEFKevinAccounts  55 
DEFAndySales rep  55 

 

13 REPLIES 13
caltang
17 - Castor
17 - Castor

I've made it dynamic for you to account for Jan till Dec.

 

Screenshot 2023-07-11 202423.png

 

Hope this sparks some ideas!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
mojomathers
6 - Meteoroid

Thanks, this has solved the original question! If I wanted to fine tune it, so the allocation of hours is accurate depending on the number of days in each month the timeline covers how would I do that?

 

Example: 

 

ClientEmployeeGradeDelivery Timeline - StartDelivery Timeline - EndHours
ABCJimSales rep2023-06-142023-08-1430

 

Desired Output:

 

ClientEmployeeGradeJunJulAugSepOct
ABCJimSales rep7167  

 

And not:

 

ClientEmployeeGradeJunJulAugSepOct
ABCJimSales rep101010  
caltang
17 - Castor
17 - Castor

In order to do that, your original data must indicate the hours worked per month! 

 

Any 3 number slots can combine to 30. 

 

10 10 10

10 8 12

8 8 14

etc.

 

Either that or you have a separate worksheet that tells that data.

 

Do you have it on hand? @mojomathers 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
mojomathers
6 - Meteoroid

Unfortunately the data is not defined like that, so it would be a case of calculating the percentage of days to allocate to each month (or something like that).

caltang
17 - Castor
17 - Castor

So % of the month worked right? For example, Jim started mid-month. So whatever business days left, will be the % of the count, no?

 

You will need to count only business days right? What about business hours? Do they impact or no? Do Holidays / Weekends count? Does Overtime count? 

 

You will need to list out your requirements. If you do, then yes, it is possible to account for them.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
mojomathers
6 - Meteoroid

You raise very good questions. It would need to be allocated as below:

 

  • Only business days (Mon - Fri)
  • 7.5 hours per day
  • Holidays / Weekends / Overtime does not count
caltang
17 - Castor
17 - Castor

Can you provide another random set of data more closely linked to your real data? 

 

Then my new workflow to you would account for your new requirements to the best of my ability.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
mojomathers
6 - Meteoroid

Sure, the below is actual data where I have just removed client and employee names. There will be some blanks in the data as well:

 

EngagementRoleDelivery Timeline - StartDelivery Timeline - EndEmployeeHours
Client APartner14/06/202314/06/2023 1
Client AEngagement Manager06/09/202306/09/2023 1
Client ATeam Manager14/08/202314/09/2023Martin20
Client ATeam Manager29/08/202329/08/2023Martin7
Client ATeam Manager01/08/202301/08/2023Martin3
Client ATeam Member24/07/202325/08/2023 10
Client ATeam member29/08/202330/09/2023 14
Client ATeam member04/09/202305/09/2023 3
Client ASpecialist   0
Client BPartner    
Client BEngagement Manager    
Client BTeam Manager    
Client BTeam Member31/07/202303/08/2023René7
Client BTeam member31/07/202303/08/2023René7
Client BSpecialist    
caltang
17 - Castor
17 - Castor

Specific Hours tabulated:

Screenshot 2023-07-12 203036.png

 

Kindly mark this as another accepted solution so that others may benefit as well.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors