Use recursive loop

Hello,
I want to use the recursive loop for a problem but I don’t know how :
Here’s my input:

Day Data New
1 2 3
2
3

The data of the second month should be equal to the New of last month , and this repeats to all rows:
The new column is calculated using a formula.
so my output is for example:

Day Data New
1 2 3
2 3 5
3 5 8

How can I do this via Knime?

Thank you

Hi @newuser01 -

Have you looked at this workflow on the Hub? It’s already very similar to what you’re trying to do.

2 Likes

Yes I did but I didn’t know how to make it work

Hi @newuser01,

Maybe this blog post helps you to know more about the loops including the recursive loop:
https://blog.statinfer.com/which-loop-is-the-right-one-for-me/

:blush:

I’ll check it out, thank you

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