Forum Discussion
Anonymous
5 years agoNot applicable
Cumulative Inventory Sum Measure
Hi all, I have looked high and low on this forum, and can't find a solution for this. I'm looking to create a cumulative sum by quantity of inventory quantities (the 'Quantity' field shown below) wh...
- 5 years ago
hi Anonymous
You are missing ALL in your formula, just adjust it as below:
Cumm Sum = CALCULATE ( SUM ( Stock[Quantity] ), FILTER ( ALL ( TableFiscalCalendar ), TableFiscalCalendar[GregorianDate] <= MAX ( TableFiscalCalendar[GregorianDate] ) ) )Regards,
Lin
Greg_Deckler
5 years agoCommunity Champion
Anonymous - Can you just use the Running Total Quick Measure built-in to Power BI Desktop?
Anonymous
5 years agoNot applicable
Greg_Deckler, the running total quick measure has not worked - I've used this criteria and the field only brings in the same value for Quantity: