We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to check Time if it Falls in certain Condition

sgaryali
8 - Asteroid

Hi

 

I want to create flag 0 and 1 for the shifts which moves to next day.

 

For ex -

 

ID 101 shift is in same day 07:00 - 17:30

 

ID 105 shift falls in next day 21:00- 07:30

 

How can we achieve this?

 

Thank you in advance.

2 REPLIES 2
binuacs
21 - Polaris

@sgaryali One way of doing this 

 

 

binuacs_0-1661782231005.png

 

 

chuckleswk
11 - Bolide

You can use something like the following flow to split out the Schedule column, convert the split columns to a time and then use a formula to check if the end time is less than the start time.

Capture.PNG

Labels
Top Solution Authors