Calling all Racers for the Alteryx Grand Prix! It's time to rev your engines and race to the stage at Inspire! Sign up here.

Alteryx Designer Discussions

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

Splitting dates into rows

joannasokolowska
8 - Asteroid

Hey Guys,

I need your advice regarding possible solutions for what I try to achieve 🙂 

 

This is what I have in the file: 

 

UserCourse Start Day End Day
JohnA30/07/2021 09:0030/07/2021 09:40
JohnB02/08/2021 09:0003/08/2021 15:00
JohnC05/07/2021 09:0007/07/2021 16:00

 

 

What I would like to see (If there is a different start day/end day - not hours) 

 

UserCourse Start Day End Day
JohnA30/07/2021 09:0030/07/2021 09:40
JohnB02/08/2021 09:0002/08/2021 15:00
JohnB03/08/2021 09:0003/08/2021 15:00
JohnC05/07/2021 09:0005/07/2021 16:00
JohnC06/07/2021 09:0006/07/2021 16:00
JohnC07/07/2021 09:0007/07/2021 16:00

 

Thank you in advance!

Asia

4 REPLIES 4
Emil_Kos
17 - Castor
17 - Castor

Hi @joannasokolowska,

 

I have prepared a solution for you.

 

First of all, I have prepared new columns with the proper date-time format and then I used to generate a tool in order to create new lines. 

 

Emil_Kos_0-1614699656712.png

If this was helpful for you please mark it as a solution!

 

PhilipMannering
15 - Aurora
15 - Aurora

Hi @joannasokolowska 

 

Perhaps the below solution has what you need,

PhilipMannering_0-1614699735143.png

 

joannasokolowska
8 - Asteroid

Hey,

Thank you for a quick response 🙂 I just checked your workflow and it doesn't work as expected 😕 

 

in your solution I still see different date for start and end date (it should be the same date for both - different hours) and I want to split this date range to have each date in new row. 

 

joannasokolowska_0-1614700873069.png

 

 

Qiu
19 - Altair
19 - Altair

@joannasokolowska 
Let me give a try.

Capture2.PNG

Labels