I have a table with two columns - you can call the table below SalesSummary, for example:
Rank, Sales Dollars
1, $700
2, $200
3, $100
I would like to write a query to add a new column - cumulative sales percentage:
Rank, Sales Dollars, Cumulative Sales Percentage
1, $700, 70%
2, $200, 90%
3, $100, 100%
The key part is cumulative, for example the Rank 2 entry should be 90% because it adds the $700 + $200 together over the $1000 total to get the 90%.
Any advice? Thank you very much for any help!!