Forum Discussion
temuulenchoi
4 years agoFrequent Visitor
Cumulative total between date slicer
Hi there, I am trying to filter a list of cumulative Inventory with a date slicer. It works when I move the "until" side, but when I move the "from" side, it shows wrong numbers. Example "Sale"...
- 4 years ago
temuulenchoi , You should use all as inventory need to build from start
Cumulative Total Inventory=
CALCULATE(
SUM(Sale[InQty])-SUM(Sale[OutQty]),
FILTER(ALL(DateTable[Date]),
DateTable[Date] <= max(DateTable[Date]) && (DateTable[Date]) <= TODAY()))
ryan_mayu
Super User
4 years agowhat's the logic of calculating the inventory? It's because what i calculate is different from yours. Could you pls explain more on this?
- temuulenchoi4 years agoFrequent Visitor
I'm sorry, there must have been an error on copying the table. I just edited the post with the correct table. Thanks!
- ryan_mayu4 years ago
Super User
pls see the attachment and check if this is what you want.