Puzzler: derived column from two columns

Sorry, I didn’t notice that accumulation happens on the group level for the max value in a step. So times in each step are added in top of cumulative max values of all previous steps. Therefore we need to:

  1. Get max values of each step
  2. Get a cumulative sum of them
  3. Bring them to the next step
  4. Add step times to the cumulative sum

Here is an example that does group-level accumulation.

group-cumulative-sum.morph (4.4 KB)