Forum Discussion

Dicken's avatar
Dicken
Icon for Post Prodigy rankPost Prodigy
1 year ago
Solved

Rolling accumulation

Can someone suggest a way to accumultate the i.e, last 4 values of a list so   { 1,1,1,2,2,1,1,2,2,1,1,2,1} = 1,2,3,5,6,6,6, etc.  I have used Transform ;   let alist = {1, 2, 3, 1, 2, 3...