Forum Discussion

Mackie's avatar
Mackie
Helper I
6 years ago
Solved

How to Cumulative Sum?

How can I calculate column "C" from "A" & "B" columns? Thank you.   a b c 0 7 7 3 10 17 6 2 19 9 4 23 12 9 32 15 18 50      
  • Greg_Deckler's avatar
    6 years ago

    Well, you cannot unless you have an Index column or the value of A for each row of increases in a sorted fashion. If the latter is indeed the case then you could do this:

     

    c =
      SUMX(FILTER('Table',[a] <= EARLIER([a])),[b])