Hello,
I have a data set consisting of quarterly data. Within each quarter, the ordering of the rows is important. Hence, I used a tile tool to determine the ordering of the rows for each quarter. Now I have to add data for various quarters and the new data rows have to be below the existing data rows in each quarter.
I'm currently thinking about the following solution:
- Filter out new data rows
- Use the tile tool on the new data
- Add a sufficiently large number (e.g. 1,000) to Tile_SequenceNum
- Union my data streams back together
- Sort by 1. Quarter 2. Tile_SequenceNum -> this should give me the data rows ordered for each quarter with the new data rows on the bottom and the ordering within my old and new data rows remaining the same as in my input data
- Use the tile tool again on quarter.
My question is: Is there a simpler approach to basically just start "continue Record ID based on latest value for each tile"?
Thanks and best regards