Forum Discussion
NT2510
5 years agoFrequent Visitor
Running Total blanks
Hello, I have a table with two dates: Close Date, Accounting Date, amount and Month column (Close Date - Accouning Date)+1. I want running total of Amount based on Months. I used below measure b...
- 5 years ago
Hi, NT2510
You may try modifying the measure as below to see if it works.
RunningAmount2 = var _max=CALCULATE(MAX(Sheet1[Mths]),ALLEXCEPT(Sheet1,Sheet1[Year])) var _min=MIN( MAX('Table'[Value]),_max) return CALCULATE( sum(Sheet1[Amount]), FILTER( ALLSELECTED(Sheet1[Mths]), 'Sheet1'[Mths]<=_min ) )Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PaulDBrown
5 years agoCommunity Champion
Can you please clarify what you are trying to calculate? A depiction would be very helpful. Thanks.
- NT25105 years agoFrequent Visitor
This is how output should look like. In PoweBI, there are some blanks which should show last non-blank value.