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

Need help in splitting rows

HBarge
8 - Asteroid

Hi,

I have this example dataset of employees with timesheets

A few of the employees work through one claendsar day to the next calendar day (Night shift)

I would like to represent them in 2 rows

i.e. 

DateEmp CodeNameActivity CodesStart Date TimeStop Date TimeUnadjusted Shift Length (Hours)Start DayFinish Day
22/02/201510115RAPONI Daniela 22/02/2015 16:0023/02/2015 6:0014SundayMonday

 

to

 

DateEmp CodeNameActivity CodesStart Date TimeStop Date TimeUnadjusted Shift Length (Hours)Start DayFinish Day
22/02/201510115RAPONI Daniela 22/02/2015 16:0023/02/2015 12:008SundaySunday
23/02/201510115RAPONI Daniela 23/02/2015 0:0023/02/2015 6:006MondayMonday

 

How can I accomplish this?

 

The example dataset attached has more than one examples.

 

Thanks,

Harshad

1 REPLY 1
RolandSchubert
16 - Nebula
16 - Nebula

Hi @HBarge ,

 

I think, splitting the rows using a Filter tool and Formula tools should be the solution. I've attached a sample workflow.

 

Let me konw if it works for you.

 

Best,

 

Roland

Labels
Top Solution Authors