Hi,
How to summarise data by employee id , with the continus departure and arrival date and same location provide the total number of days away .
If same employee, same location but not continuouly based on departure and arrival date - should show as a separate transaction and the number of days separately.
Employee ID | Employee.displayName | TemporaryTransferLocation | Count of TemporaryTransferLocation | DateofDeparture1 | DateofArrival1 | Sum of Number of days away |
201032 | Anthony Fitzgerald | Yarrawonga | 1 | 26/05/2024 | 30/05/2024 | 4 |
201032 | Anthony Fitzgerald | Yarrawonga | 1 | 11/07/2024 | 15/07/2024 | 4 |
201032 | Anthony Fitzgerald | Yarrawonga | 1 | 22/09/2024 | 30/09/2024 | 8 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 6/04/2024 | 19/04/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 20/04/2024 | 3/05/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 4/05/2024 | 17/05/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 19/05/2024 | 1/06/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 1/06/2024 | 14/06/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 15/06/2024 | 28/06/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 29/06/2024 | 12/07/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 13/07/2024 | 26/07/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 10/08/2024 | 23/08/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 24/08/2024 | 6/09/2024 | 13 |
202718 | Raymond Parkes (PTW) | Mudgee | 1 | 7/09/2024 | 20/09/2024 | 13 |