H Knime experts
I have below data, which will be extent weekly.
This week, I have 6weeks’ data, but I need get the delta between current ww and last ww (it’s ww05)
Next week, I will have 7weeks’ data, I also need get the delta between current ww and las ww(it’s ww06)
Appreciate somebody can help me how to set the node.
- Always get the delta between current wk and last week
- How can also set current ww to " ww + number" (Such as this week should be ww06, then next week, when I extend the data, the current ww change to ww07)
This week | ||||||||
---|---|---|---|---|---|---|---|---|
WW01 | WW02 | WW03 | WW04 | WW05 | Curren ww | Delta(Current WW-ww05) | ||
Part A | 10 | 9 | 7 | 7 | 15 | 10 | -5 | |
Part B | 12 | 8 | 9 | 14 | 12 | 12 | 0 | |
Part C | 14 | 11 | 16 | 17 | 12 | 14 | 2 | |
Part D | 6 | 3 | 4 | 7 | 5 | 6 | 1 | |
Total | 42 | 31 | 36 | 45 | 44 | 42 | -2 | |
Next week | ||||||||
WW01 | WW02 | WW03 | WW04 | WW05 | WW06 | Curren ww | Delta(Current WW-ww06) | |
Part A | 10 | 9 | 7 | 7 | 15 | 10 | 13 | 3 |
Part B | 12 | 8 | 9 | 14 | 12 | 12 | 10 | -2 |
Part C | 14 | 11 | 16 | 17 | 12 | 14 | 15 | 1 |
Part D | 6 | 3 | 4 | 7 | 5 | 6 | 4 | -2 |
Total | 42 | 31 | 36 | 45 | 44 | 42 | 42 | 0 |