Forum Discussion
mtrevisiol
Helper V
4 years agoCalculate incremental quantity month by month
Hi everyone. I've got this table which shows quantities entering and exiting the warehouse, month by month. In the first row I have the initial stock of the first day of 2021 and I want to create t...
amitchandak
Super User
4 years agomtrevisiol , A new measure
Sum(Table[Initial Stock]) + Sumx(filter(all(Table), [Item] = Max(Table[Item]) && [Date] <= Max(Table[Date]) ), Table[Qty] )
or
new column =
Table[Initial Stock] + Sumx(filter((Table), [Item] = earlier(Table[Item]) && [Date] <= earlier(Table[Date]) ), Table[Qty] )
mtrevisiol
Helper V
4 years agoI created the new column using your formula, but I didn't get what I needed..