Forum Discussion

Nilsoo's avatar
Nilsoo
Frequent Visitor
9 years ago
Solved

Time Range Filter: How to keep filtered values?

Hi, I have the following problem I have a data set containing Sales values of a specific date (my short table below should clarify the topic). I would like to use a time range filter that says how t...
  • NielsDecoene's avatar
    NielsDecoene
    9 years ago

    So what you're looking for is a running total to that point in time?

     

    So this would result to

    Calculate( SUM(Sales);

    Datesbetween(DateTable;Min(Date);Max(Date));

    ALL(Date Table) Removes all filters on the date table 

    )

     

    This should provide a running total, if my datesbetween statement is wrong 

    have a look at 

    http://www.daxpatterns.com/cumulative-total/