A general flow could look like following:
- retrieve all Distinct Due Date Values
- optional calculate min, max due date
- prepare a new empty datatable and create dynamically the different needed duedate cols - dtTarget
process the origin datatable by grouping the data
prepare a new empty dttarget data row with the values from the group members and add it
with some arrangements we would recommend the parallel for each activity for transponation step
Grouping the data have a look here: