Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

How to add previous row value with current one and then keep getting the summation

HI below is the table as input in power bi and below that is the output i would require in power bi. Please let me know how is it possible in calculated column or Measure. its basically addition of p...
  • v-qiuyu-msft's avatar
    8 years ago

    Hi Anonymous,

     

    You can create a calculated column: 

     

    Column = CALCULATE(SUM('Table3'[Value]),FILTER('Table3','Table3'[Date]<=EARLIER('Table3'[Date])))

     

     

    Best Regards,
    Qiuyun Yu