Hello everyone,
I am looking for a way to create groups of rows based on the overlapping of rows. I know this sounds confusing, but stay with me. Let's look at an example: I want to create groups of 5 rows per group. The groups should consist of the follow rows:
Group 1: Row 1 to Row 5
Group 2: Row 2 to Row 6
Group 3: Row 3 to Row 7
...
...
Group n: Row n to Row n+4
(With the last group containing the last 5 rows of the dataset)
The groups can be shows by an identifier of a new field.
Any help would be much appreciated.