Hi @zoe_knime ,
I had a look at your data and it’s not quite clear what exact logic you want to apply.
Though, I believe this approach will suffice:
Loop per record
Use Lag column to shift the data
Note: Sadly his node dos not support a negative value but I’ve got a fallback. Maybe you vote for this feature request?
Hi,
maybe I recall it wrong but didn’t the Lag Column allow to enter negative values which was also requested and close many years ago? If true, this is a serious bug of the modern UI which sneaked into the Classic UI since 5.x
This feature request, which I noticed I commented to back in 2019, got closed as well. So I assume this feature request was never integrated but why have the requests been closed? The workarounds are significantly more complex and providing an out of the b…
Here is the possible solution:
Best
Mike
2 Likes