Forum Discussion

learner03's avatar
learner03
Icon for Post Partisan rankPost Partisan
4 years ago
Solved

Cumulative difference

  How can I get cumulative difference as below? Qty Cumulative difference 105 - 111 -6 23 88 45 -22 100 -55 76 24 45 31 63 -18
  • ribisht17's avatar
    ribisht17
    4 years ago

    So, you need to just reverse the order Cumulative Difference =([Prev])-CALCULATE(sum('Cumulative Diff'[Qty])) here, right?

     

    >> Keep Calculate first 

     

    Regards,

    Ritesh