Can you use CALC_THROUGHPUT ( begin_range_specifier TO end_range_specifier, timestamps s, activity_table.string_column ] ) Syntax?
Time spent is either the time from the previous activity, or the time TO the next activity
Use CALC_THROUGHPUT and ACTIVITY_LEAD / ACTIVITY_LAG
HTH
Actually i Just found , if we use LAG operator to do this , it will be achieved. I was trying to use the solution you mentioned , basically it will take end activity as "Y" but it wont take immediate preceding activity but it will take starting activity and calculate throughput time . Neverthless thank you very much for reading my question and responding to this .