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

General Discussions

Discuss any topics that are not product-specific here.

Leave dates to Calendar days

TomzPwC
6 - Meteoroid

Sample input

NameEmployee IDType of leaveLeave FromLeave toApproved/Declined
Salma12345Sick20-Oct-2323-Oct-23Approved
Akbar23413Paternity28-Oct-235-Nov-23Approved
Salma12345Maternity28-Oct-235-Nov-23Approved
Jonah32143Annual28-Oct-235-Nov-23Declined
Salma12345Annual6-Nov-2313-Nov-23Approved
Jonah32143Religious7-Nov-237-Nov-23

Approved

 

 

 

Output as follows: there is a colour code for each type of leave. Excel sheet attached for reference. Any new entry in the input should be reflected in the output appropriately. If a new name is there, it should come below of the existing rows. If existing employee is applying then it should be reflected in the calendar days

 

NameEmployee ID20-Oct-2321-Oct-2322-Oct-2323-Oct-2324-Oct-2325-Oct-2326-Oct-2327-Oct-2328-Oct-2329-Oct-2330-Oct-2331-Oct-231-Nov-232-Nov-233-Nov-234-Nov-235-Nov-236-Nov-237-Nov-238-Nov-239-Nov-2310-Nov-2311-Nov-2312-Nov-2313-Nov-2314-Nov-23
Salma123458WeekendWeekend8    WeekendWeekend88888WeekendWeekend88888WeekendWeekend8 
Akbar23413 WeekendWeekend     WeekendWeekend88888WeekendWeekend     WeekendWeekend  
Jonah32143 WeekendWeekend     WeekendWeekend     WeekendWeekend 8   WeekendWeekend  
1 REPLY 1
caltang
17 - Castor
17 - Castor

Like so:

 

image.png

 

As your colour coding requirements are not clear, I cannot proceed further.

 

If the above solved your need, kindly like & mark as accepted solution so that you may help others find the solution more quickly + to close the thread as is. Thanks!

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