Forum Discussion

justinbouchard's avatar
justinbouchard
Frequent Visitor
4 years ago
Solved

Running Total per category

Hello,   I tried the steps outlined here but I'm still having trouble An example of my data is below.   What I'm trying to do is make a running total of the applications we get from student...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi justinbouchard ,

     

    Do you want to calculate the running total per app_term and based on date?

    Try this code.

    Measure = 
    CALCULATE(SUM ( Sheet1[app number] ),FILTER(ALL(Sheet1),Sheet1[APP_TERM] = MAX(Sheet1[APP_TERM])&&Sheet1[Date Received]<=MAX(Sheet1[Date Received])))

    Result is as below.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.