Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi All,
I need help for doing revrese cumulative total for column having -ve values. Please check the below data and explanation on exactly what I needed.
| STDate | Load | Index | Output |
| 10 August 2020 | 1000000 | 1 | 1000000 |
| 11 August 2020 | 2000000 | 2 | 1000000 |
| 12 August 2020 | 3000000 | 3 | -1000000 |
| 13 August 2020 | 4000000 | 4 | -4000000 |
| 14 August 2020 | -8000000 | 5 | -8000000 |
| 15 August 2020 | 6000000 | 6 | 6000000 |
In above table 1st three columns are actual data and output column is expected output. Calculation in output column is rverese running total for only neagtive values in load column based on STDate column order. Here running total starts from -800000+4000000+3000000+2000000 and running total should be stop up to the value become positive. In above table revrese running total starts from index 5 to index 2 where it becomes positve at 1000000 of index2.
So please help me in achieving the output column as expected.
Thanks
Praneeth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.