I need to create a query that produces running totals for every group within my table for example i wish to see: -
Group A
[running total] 1
[running total] 5
[running total] 9
[running total] 15
Group B
[running total] 1
[running total] 2
[running total] 20
etc..
I have worked out how to produce a running total but this will produce it for all records in the table and not split it (or reset it when it find a new group). Also this method works on the Unique ID which will fail due to the grouping required.
Group A
[running total] 1
[running total] 5
[running total] 9
[running total] 15
Group B
[running total] 1
[running total] 2
[running total] 20
etc..
I have worked out how to produce a running total but this will produce it for all records in the table and not split it (or reset it when it find a new group). Also this method works on the Unique ID which will fail due to the grouping required.
Comment