Forum Discussion

KarmenN's avatar
KarmenN
Regular Visitor
4 years ago
Solved

Help with cumulative sum

Hello!   I have a table, where I have material demand/supply qtys. There might be multiple rows for one day, because I have demand and supply numbers + demand might come from different orders. I h...
  • amitchandak's avatar
    4 years ago

    KarmenN , Try to create a measure with help from date table

     

    Cumm = CALCULATE(SUM(Table[Qty]),filter(all('Date'),'Date'[date] <=max('Date'[date])))

     

    Also create a separate type dimension, join it with your table and use that is the slicer and visual