Hi Bal,
1. Create Calculation View with Projection --> Aggregation Flow.
In Projection_1, Add your Attribute View.
2. In Projection_1, Create Calculated Column CC_Counter and Mention the Value as "1".
3. In Aggregation Node,
Select Job, RECED_TIME and ACPTD_Time as Attributes (Add as Output)
Select Time_To_Accept, Time_To_Arrive, CC_Counter as Measures
(Add As Aggregated_Column).
4. Create Calculated Column - "Avg_Time_Difference_Arrive_Accept"
by Formula
("TIME_TO_ARRIVE" - "TIME_TO_ACCEPT") / "CC_Counter"
5. The Output will be
It is giving correct result.
Regards,
Muthuram