In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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