Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Running Total Measure with Filter

Hey guys, I've got the following Measure: Visits My Page = CALCULATE( DISTINCTCOUNT('All Page Visits'[VISIT_ID]), FILTER('All Page Visits','All Page Visits'[PAGE_URL]="https://my.page.nl/l...
  • johnt75's avatar
    4 years ago

    yes, you could do something like

    Running Total =
    var maxDate = MAX('Date'[Date])
    return CALCULATE( [Visits My Page], REMOVEFILTERS( 'Date'), 'Date'[Date] <= maxDate)