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()))
amitchandak
Super User
4 years agotemuulenchoi , 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()))
temuulenchoi
4 years agoFrequent Visitor
Thanks! This worked very well