Hi Bigdzo,
Flow currently only allows one iterator step to run within a For Each loop, which makes this challenging at the moment. We have some work coming shortly which should help with use cases like summing up a customer’s orders within the last year. Stay tuned for that in the next couple of weeks.
Cheers
Dave