I have two tables one is a code list that I want to insert according to the three columns in the data table.
With three columns I used three join nodes, but what if I have n columns …
Can this be done using a loop?
How to use the flow variable “currrentColumnName” in the Join node?
KNIME_project3.knwf (41.9 KB)
How to setup the loop so the result of the loop will be the same as at the end of the three joins.
the trick is to rename your selected column just before the join and re-rename it afterwards.
However, the second step is optional as the output table would get more complex. If you leave it renamed, I think it’s more straight-forward.
Thank you for your answer the idea is good, but the result is not as aspected because the result with Joiner nodes has 6 rows but with the loop it has 18 rows.