cursedkorok
Technical User
Hi everyone,
I'm trying to create a report which looks at dated records and displays them as ranges then counts the individual ranges and the number of records. Report is grouped by ID. Selection is based on date ranges and record type.
Data example:
ID: Dated:
21 01/12/2023
No record as weekend
No record as weekend
21 04/12/2023
21 05/12/2023
21 06/12/2023
21 07/12/2023
21 08/12/2023
21 19/12/2023
21 20/12/2023
21 21/12/2023
21 22/12/2023
21 23/12/2023
Result I hope to achieve:
21
I have it setup so it shows the ranges for working days that have records in the database but unsure how to include weekends in the range. i.e. 01/08/23 - 31/08/23 shows as 5 separate ranges because weekends break it apart and I want it to show as 01/08/23 - 31/08/23, 23 days, 1 instance unless one of the working days does not have a record in which case it would break into two instances etc.
Hope this resembles something that makes sense and that someone could help out please?
I'm trying to create a report which looks at dated records and displays them as ranges then counts the individual ranges and the number of records. Report is grouped by ID. Selection is based on date ranges and record type.
Data example:
ID: Dated:
21 01/12/2023
No record as weekend
No record as weekend
21 04/12/2023
21 05/12/2023
21 06/12/2023
21 07/12/2023
21 08/12/2023
21 19/12/2023
21 20/12/2023
21 21/12/2023
21 22/12/2023
21 23/12/2023
Result I hope to achieve:
21
01/12/2023 - 08/12/2023 6 days
19/12/2023 - 23/12/2023 5 days
19/12/2023 - 23/12/2023 5 days
2 Instances
I have it setup so it shows the ranges for working days that have records in the database but unsure how to include weekends in the range. i.e. 01/08/23 - 31/08/23 shows as 5 separate ranges because weekends break it apart and I want it to show as 01/08/23 - 31/08/23, 23 days, 1 instance unless one of the working days does not have a record in which case it would break into two instances etc.
Hope this resembles something that makes sense and that someone could help out please?