Grouping a set sequence of events

John-S Pretorius
John-S Pretorius used Ask the Experts™
on
I'm monitoring traffic into a facility in real-time and events typically occur in a specific sequence [1-15-10-3] Please refer to insert below. My goal is to group (isolate the mentioned 4 events) so I can determine the total time each transaction took. i.e. referring to the first transaction from below, the vehicle was detected @ eventid1 ( (12:04:05am) and completed his transaction @ eventid3 (12:05:24) = 1min19seconds). There are instances where the sequence is only [1-10-3] and also as visible things can go wrong and you see a [1-1-15-10-3].

The challenge is that I have no field available that identifies a specific transaction and all I have is the expected sequencing of eventid's.  I need assistance grouping/isolation a set or completed transaction so I can do the math.

Typical event sequence
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet Software

Commented:
What would you like the output to be (for the sample case provided)?
John-S PretoriusSystems Engineer

Author

Commented:
Duration in mins and seconds (eventid 3 timestamp - evenid1 timestamp) but that is not what I'm having problems with, how do I Group/Isolate a complete transaction based on the sequence(s) mentioned ?
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet Software

Commented:
Still not clear. Please show an example of the output for that data set.
Announcing the Winners!

The results are in for the 15th Annual Expert Awards! Congratulations to the winners, and thank you to everyone who participated in the nominations. We are so grateful for the valuable contributions experts make on a daily basis. Click to read more about this year’s recipients!

John-S PretoriusSystems Engineer

Author

Commented:
Below is a similar insert  as shown in my original question, I also attached the report with some data showing (2) sequence with counterid format [1-15-10-3] and [1-10-3]

Output snapshot101_CASHIERPERFORMANCE-REPORTR2.rpt
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet Software

Commented:
I was asking for output FROM the report--not input INTO the report.
What do you want the end result to look like?
John-S PretoriusSystems Engineer

Author

Commented:
DeviceNo, Timestart (this would be the counterid [1]), TimeEnd (this would be the counterid  [10]) Duration in (min,sec)
Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
Commented:
Look at these 3 reports

Version 1 shows where the formulas are.
Version 2 shows the details and the summary line
Version 3 shows only the summary lines

mlmcc
101_CASHIERPERFORMANCE-REPORTR2-V1.rpt
101_CASHIERPERFORMANCE-REPORTR2-V2.rpt
101_CASHIERPERFORMANCE-REPORTR2-V3.rpt
John-S PretoriusSystems Engineer

Author

Commented:
Thank you, this is perfect.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial