Icon

Logistics _​ Weekly Balance from Ranged Cumulative Equations

https://forum.knime.com/t/using-data-from-previous-row-in-calculation-with-loop/77591

'Ranged Cumulative Equations' / Supported w. Columns Expressions' Column Offset() Stock MovementsProvided Data week balanace calculationchallenge data$Client Orders$ cumulative sum$Incoming Stock$ cumulative sumROWINDEX_offsetblank ROWINDEX gaps in $Initial Stock$ROWINDEXROWINDEX_offsetfill blanks Result: $Weekly Balance$ ==column offset $Initial Stock$ - cumulative $Client Orders$ (delta range)+ cumulative $Incoming Stock$ (delta range) Table Creator Moving Aggregation Moving Aggregation Rule Engine Math Formula Missing Value Column Expressions 'Ranged Cumulative Equations' / Supported w. Columns Expressions' Column Offset() Stock MovementsProvided Data week balanace calculationchallenge data$Client Orders$ cumulative sum$Incoming Stock$ cumulative sumROWINDEX_offsetblank ROWINDEX gaps in $Initial Stock$ROWINDEXROWINDEX_offsetfill blanks Result: $Weekly Balance$ ==column offset $Initial Stock$ - cumulative $Client Orders$ (delta range)+ cumulative $Incoming Stock$ (delta range) Table Creator Moving Aggregation Moving Aggregation Rule Engine Math Formula Missing Value Column Expressions

Nodes

Extensions

Links