Well, you asked for it. Might be a little bit over engineered … But I still wonder how to handle a loop if I have to reflect on something and ‘remember’ it - yes I can append something at the end of a loop, but sometimes my first idea is to store the intermediate results.
You should really check if you just want such a simple prediction, but anyway, here it comes.
Here I use 2 weeks to predict, you can change that by setting the variable.
kn_example_week_forecast.knwf (89.5 KB)