Thank you so much.
It’s seems you have tried hard, but the output I required is not matching,
I want only last 5 dates transaction, here you have sorted as per required date, where every row is coming.
Can we use Date & Time difference or Date & Time shift… etc
Please do suggest.
I cannot revise the workflow from @HansS, however I would suggest a day offset calculation and then match the amounts. Please find the workflow attached… Z_021_dates.knwf (17.4 KB)
You can use -5d as duration for End if you have consecutive dates. If not use duration which will assure you will have 5 inputs and later filter with Row Filter.