Forum Discussion
Syndicate_Admin
Administrator
4 years agoAccumulated by dates
Hello community, I hope you can help me with this question I am trying to look for the accumulated of our stock, without emabargo to program in DAX I am not the best, I could only do this Measure...
amitchandak
Super User
4 years agoSyndicate_Admin , I think you need something like this
Inventory / OnHand
[Intial Inventory] + CALCULATE(SUM(Table[Ordered]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Sold]),filter(date,date[date] <=maxx(date,date[date])))
Inventory / OnHand =
CALCULATE(SUM(Table[Ordered]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Sold]),filter(date,date[date] <=maxx(date,date[date])))
How to work with more than one date