Forum Discussion
vsslasd1
Helper III
3 years agoRunning 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.
v-zhangti
Community Support
3 years agoHi, vsslasd1
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
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.