Forum Discussion
AishwaryaS
5 years agoFrequent Visitor
Dynamic Running Total
Hi, I want to calculate cumulative sum of quantity based on each material considering date, ID and Item columns, and also while a slicer filter is selected the cumulative sum must dynamically change ...
- 5 years ago
AishwaryaS , Try a measure like
calculate(sum(Table[Quantity]), filter(allselected(Table), Table[Material] = max(Table[Material]) && Table[Date] <= max(Table[Date])))
amitchandak
5 years agoSuper User
AishwaryaS , Try a measure like
calculate(sum(Table[Quantity]), filter(allselected(Table), Table[Material] = max(Table[Material]) && Table[Date] <= max(Table[Date])))
AishwaryaS
5 years agoFrequent Visitor
Thanks a lot! It worked.