Alteryx Designer Desktop Discussions

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

Need help to find time difference

Padmanaban
5 - Atom

Hi,

 

I've problem to find out Time difference if second event falling on next day.  Refer the enclosed sample file

4 REPLIES 4
ponraj
13 - Pulsar

Attaching a sample workflow. 

 

Need help to find time difference.PNG

Padmanaban
5 - Atom

Hi Pons - Thanks for quick response.  if you find short work flow, please let me know

Thableaus
17 - Castor
17 - Castor

Hi @Padmanaban 

 

See if this is a short solution for you.

 

Solution1.PNG

 

IF Out  Time is less than In Time, then you divide the calculation in two:

Out Time - 00:00 + 23:59 - In Time + 1.

 

Cheers,

Padmanaban
5 - Atom

Hi Thableaus - Really its very simplified and great solution!  Thanks very much!

Labels