Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
AlbL
Contributor
Contributor

Interval with multi dimensions

Hey! Sruggling to get the time in between 2 indicators, for a given date.
See below example

Exisiting FieldsExisiting FieldsDesired Field 
TimeStampStatusStatus Duration 
01/02/20 2:43ON0.063877315 
01/02/20 4:15OFF0.018321759 
01/02/20 4:41ON0.035706019 
01/02/20 5:33OFF0.008414352 
01/02/20 5:45ON0.038310185 
01/02/20 6:40OFF0.000671296 
01/02/20 6:41ON0.043344907 
01/02/20 7:43OFF0.033784722 
01/02/20 8:32ON0.056840278 
01/02/20 9:54OFFnullend of day
01/03/20 0:58ON0.583333333 
01/03/20 14:58OFFnullend of day
01/04/20 1:51ON0.027650463 
01/04/20 2:31OFF0.033113426 
01/04/20 3:19ON0.02587963 
01/04/20 3:56OFF0.039872685 
01/04/20 4:53ON0.016909722 
01/04/20 5:18OFF0.022835648 
01/04/20 5:51ON0.052881944 
01/04/20 7:07OFF0.015856481 
01/04/20 7:30ON0.105810185 
01/04/20 10:02OFFnullend of day

 

Any ideas how i could achieve that? Ultimately I will then sum the values on ON and OFF for each day. 

Thanks very much!

0 Replies