Forum Discussion

Gkourtoglou's avatar
Gkourtoglou
Frequent Visitor
6 years ago
Solved

Cumulative Count

Good sirs. I have an excel file with Columns "Creation Date" (date format), "Week Number" (General), "Ticket ID" (General), "Year" (General) among plenty of others as seen on my first image below, an...
  • richbenmintz's avatar
    6 years ago

    Hi Gkourtoglou ,

     

    you can use a measure like 

    Weekly Cummulative = CALCULATE(sum('Table'[Tickets]), FILTER(ALLEXCEPT('Table', 'Table (3)'[Year]), 'Table'[Week] <= MAX('Table (3)'[Week]))) 

     

    you would have to change the sum to a countrows given you data, i just mocked it up with a sum.

     

    results below

    Hope this helps,

    Richard


    Did I answer your question? Mark my post as a solution!
    Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!