Is there a node that allows computing the cumulative sum of another column up until each row? For instance if the source column contains the values 1,2,0,7,3,… the resulting column would contain the values 1,3,3,10,13,…
I think some solutions are suggested in this topic, which all rely on scripting. It is also suggested that KNIME 2.10 would present an easier solution. We are now at 4.4. Has this been realized?
@ipazin, thanks a lot - it works! I expected Moving Aggregation would only do this for a limited window length, but it turns out that if you check “cumulative computation”, the “window length” is nicely greyed out:)
Actually I think the name “moving aggregation” is a bit confusing here, since there’s no moving window - but yes, in a way, the aggregation is moving from each row to the next
Hi @wvdvegte , that’s exactly correct, the “moving” aggregation refers to the fact that it is moving from each row to the next, and that the value is “moving” (changing). It’s essentially cumulative.