Hi Experts,
We are facing a complex time series related problem in our project and could not find the solution after several days of discussion.
Hope someone here could give a hint or clue to solve this issue.
The scenario:
The is a table TABLE1, which contains Line/Machine's run time information.
For example
RUN_ID | NODE_ID | Shift | START_DATE | START_TIME | START_ TIMESTAMP | END_DATE | END_TIME | END_ TIMESTAMP | GROSS_DURATION_ IN_MINUTE |
101 | Line-1 | MRNG | 2014-07-01 | 08:10:00 | 2014-07-01 08:10:00 | 2014-07-01 | 10:00:00 | 2014-07-01 10:00:00 | 110 |
There is another table Table 2, which contains the Loss Durations.
ENTRY_ID | NODE_ID | START_DATE | START_TIME | START_TIMESTAMP | END_DATE | END_TIME | END_TIMESTAMP | LOSS_DURATION_IN_MNT |
1002 | Mc-1 Under Line-1 | 2014-07-01 | 07:00:00 | 2014-07-01 07:00:00 | 2014-07-01 | 08:30:00 | 2014-07-01 08:30:00 | 90 |
1003 | Mc-1 Under Line-1 | 2014-07-01 | 08:40:00 | 2014-07-01 08:40:00 | 2014-07-01 | 09:30:00 | 2014-07-01 09:30:00 | 90 |
Our job is to find out the LossDuration and GrossDuration.
I have the complete problem in excel and provided the queries in attached files.
We are trying to achieve this in calculation view but could not find after several tries. Any help would be appreciated.
PS: The scenario is quite complex to describe in words, but I have tried my best in the excel file. Please let me know if you need further explanation.
Regards,
Raja