Adarsha
It's not so much a calculation as a direct mapping from the WIP production_log table, elapsed_queue_time column:
production_log.elapsed_queue_time, where production_log.times_processed=1
So for
pass2_elapsed_queue_time, this is where times_processed=2
and pass2plus_elapsed_queue_time is where times_processed>2
Stuart