Hi
I've created a small workflow. And my issue is:
I have two dataset's. Lastmile and linehaul.
They have two join fields in this sample dataset:
ScanDate and Delivery_Country_Code.
I want to match my lastmile dataset to my linehaul on these two.
If there is no linehaul on the same day as the lastmile, I want to take the previous linehaul.
As an example, the 19/9-22 I have lastmile data:

But no linehaul that day, so I want to itter through the linehaul and find the next one, irevious to that date:
Which would be the two linehaul the 16/9-22;

For my onwards calculations, it's important to me that I itter thorough the data, and not generate rows as an example to generate days between. So please only suggest solution containing itteration.
Kind regards,