Forum Discussion

Applicable88's avatar
Applicable88
Impactful Individual
4 years ago
Solved

Running Total without calculate?

Hello, is there a way to compute running total without the calculate function? For example via creating a table variable inside a measure and sum it up via sumx? With this sample data:   Date ...
  • Greg_Deckler's avatar
    4 years ago

    Applicable88 Yes:

    Measure =
      VAR __Date = MAX('Table'[Date])
    RETURN
      SUMX(FILTER(ALL('Table',[Date] <= __Date),[Sales])