Help with Loop

Hi,
it must be very simple but I can’t get it to work because my knowledge is really basic, sorry.
It loops thorough one table but not through the other.
I attach the workflow.
This is the result of my loop:
image

while I’d like to obtain this:
image
KNIME_project.knwf (13.2 KB)

Your workflow has 2 loop starts and only 1 loop end. It’s no surprise that you’re not getting the result you want. The existing loop end concatenates the results from the 2nd loop. You need a 2nd loop end to concatenate the results from the outer loop.

I would recommend avoiding this problem entirely by replacing all your loops with a single Cross Joiner node. In this approach, the top Table Creator Node will only need 1 of each entry, so you’ll have 3 rows instead of 15. If you must have 15 rows in the top table, then a Duplicate Row Filter node will clean up the output.

image

image

2 Likes

Thank you!!! the simpler the better :))

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.