Skip to main content

Merging Two Loops into One

In the Maps/Looping/LoopMergeTwoLoops example you can see the case where the input side has two corresponding loops to be merged into a single loop in the output. To do this, map the first loop (the one with more elements) normally as you see with Street, City and State.

Then for the elements in the 2nd loop (Detail) you need to use an aggregate function to pull the value for the desired index from the input loop as shown below.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!