Forum Discussion

dw700d's avatar
dw700d
Post Patron
6 years ago
Solved

Running Total by Date

I am trying to create a running total for the sum column by date for the below table. How can I accomplish this by creating a measure?

 

Date        Type      Spend
7/27/2020         EPL       1000
7/27/2020       GSCS       1500
7/27/2020          EPL        3000
7/27/2020          EPL       2000
7/28/2020       GSCS         1200
7/28/2020       GSCS       1400
7/282020         EPL        900
7/29/2020       GSCS       750
7/29/2020         EPL      1200
7/29/2020      GSCS      1400

 

  • dw700d ,

    Try this:

    CALCULATE(SUM(Sheet4[Value]),FILTER(ALL(Sheet4),Sheet4[Date]<=MAX(Sheet4[Date])))
     

4 Replies