Can someone help me in getting the cumulative sum and percentage. I have three fields in the table "capability"
vertical|Defects(F)|Defects(NF)|
Billing | 193 |678
Provi |200 |906
Billing |232 |111
Analyt |67 |0
Provi |121 |690
I would want the final output to be
Vertical|Total Defects|Cumulative Defects|Cumulative%
Billing |1214 | 1214 |37.96%
Provi |1917 | 3131 |97.90%
Analyt |67 | 3198 |100.00%
Please note that I have around 3mn rows and data keeps increasing day on day.