R
Ryan
I have the following data in a table.
Material number Quantity
1232 10
1232 -52
1232 13
5658 0
5658 3
5658 -2
I want to run a query that gives me a running total that resets itself at
each change in Material number. Can I use DSum or do I need to write some
code? The results should give the following:
Material number Quantity Running Total
1232 10 10
1232 -52 -42
1232 13 -29
5658 0 0
5658 3 3
5658 -2 1
Any help would be great!
Material number Quantity
1232 10
1232 -52
1232 13
5658 0
5658 3
5658 -2
I want to run a query that gives me a running total that resets itself at
each change in Material number. Can I use DSum or do I need to write some
code? The results should give the following:
Material number Quantity Running Total
1232 10 10
1232 -52 -42
1232 13 -29
5658 0 0
5658 3 3
5658 -2 1
Any help would be great!