Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

DAX formula to Calculate Column Cumulative Total

Hello, I am trying to add a calculated column to the dataset so that I can plot a line graph that shows cumulative total cost by week or month. It this possible given that there are several lines tha...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi, Thank you, I couldn't not make it work, but the following worked:

     

    New Measure

     

    Running Total=

    CALCULATE(Sum(Table[Total Cost]),

                    ALL('Table'),Table[Work Date]<=EARLIER(Table[Work Date]))