Alteryx Designer Desktop Discussions

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

Data generation

Hiteshp
7 - Meteor

Hello Team,

 

From the below input:

 

Input
EmployeeNameStart Date End DateCodeDurationDates
1Ravi3/10/20253/11/2025Vacation163/10/2025
1Ravi3/10/20253/11/2025Vacation163/11/2025
2Shiv5/12/20255/14/2025Sick245/12/2025
2Shiv5/12/20255/14/2025Sick245/14/2025
2Shiv5/12/20255/14/2025Sick245/14/2025
3Raj6/11/20256/11/2025Floating86/11/2025

 

and trying to generate the following output:

 

Output
EmployeeNameStart Date End DateCodeDurationDatesActual Duration 
1Ravi3/10/20253/11/2025Vacation163/10/20258
1Ravi3/10/20253/11/2025Vacation163/11/20258
2Shiv5/12/20255/14/2025Sick245/12/20258
2Shiv5/12/20255/14/2025Sick245/14/20258
2Shiv5/12/20255/14/2025Sick245/14/20258
3Raj6/11/20256/11/2025Floating86/11/20258
4 REPLIES 4
CoG
14 - Magnetar

There isn't a question here. What process are you using that you need assistance with? Just based off of what was provided, A Formula Tool with hard-coded value of 8 will get you from provided input to output.

Hiteshp
7 - Meteor

Using Generate Row Tool i was able to split the Dates as per Start and End Date, however in the first table if a entry is for 3 day the duration show 24.. i need to split it again as 24/3 which should give me 8 hours per day if it for 2 day and the duration is 16.. it should give me 16/2 so 8 hours each date.

binuacs
21 - Polaris

@Hiteshp one way of doing this with the help of summarise tool and join tool

image.png

CoG
14 - Magnetar

Since you are Generating Rows and already have the Start Date and End Date in the data, you can utilize that without needing to Summarize:

Screenshot.png

Labels
Top Solution Authors