Forum Discussion

GKs's avatar
GKs
Frequent Visitor
6 years ago
Solved

Running Total Specific Year

I would like to be able to compare a specific year against another by means of its days, that is to say that in a month X from day 1 to 30 to be able to see the evolution of sales day by day in an ac...
  • Ashish_Mathur's avatar
    6 years ago

    Hi,

    Try this measure

    Cump Ac 2018 = IF(ISBLANK([2019 Sell Out]),BLANK(),CALCULATE([2018 Sell Out], FILTER(ALLSELECTED(Table[Sell Out]),Table[Date] <= MAX(Table[Date] ))))