Forum Discussion
vsslasd1
3 years agoHelper III
Running Sum Question
I am trying to create a running sum formula for a graph. The X-Axis should have the Date The Y-Axis should have the Running Sum Amount The Legend should be the transaction type, and thos...
- 3 years ago
Hi, vsslasd1
You can try the following methods.
Column:Column = CALCULATE ( SUM ( 'Table'[Amount] ), FILTER ( 'Table', [OverrideDate] <= EARLIER ( 'Table'[OverrideDate] ) && [Transaction_Type] = EARLIER ( 'Table'[Transaction_Type] ) ) )Measure:
Running sum = CALCULATE ( SUM ( 'Table'[Amount] ), FILTER ( ALL ( 'Table' ), [OverrideDate] <= SELECTEDVALUE ( 'Table'[OverrideDate] ) && [Transaction_Type] = SELECTEDVALUE ( 'Table'[Transaction_Type] ) ) )Result:
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
vanessafvg
3 years agoCommunity Champion
when you say it isn't working, can you explain what is not working?
also are you able to provide any sample data?
can you explain what you are trying to do with the date?
vsslasd1
3 years agoHelper III
The Chart has this error message: