Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop 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
16 - Nebula
16 - Nebula

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
20 - Arcturus
20 - Arcturus

@joannasokolowska 
Let me give a try.

Capture2.PNG

Labels