I have the following in a table
Store Period Year Date Value
1 1 2004 1/1/04 100
1 2 2004 1/2/04 200
1 3 2004 1/3/04 100
2 1 2004 1/1/04 50
2 2 2004 1/2/04 75
I want to write a view to show the cumulative value by month so the data would look as follows.
Store Period Year Date Cum_Value
1 1 2004 1/1/04 100
1 2 2004 1/2/04 300
1 3 2004 1/3/04 400
2 1 2004 1/1/04 50
2 2 2004 1/2/04 125
Any help would be appreciated as I am struggling with this.
Thanks in advance.
Store Period Year Date Value
1 1 2004 1/1/04 100
1 2 2004 1/2/04 200
1 3 2004 1/3/04 100
2 1 2004 1/1/04 50
2 2 2004 1/2/04 75
I want to write a view to show the cumulative value by month so the data would look as follows.
Store Period Year Date Cum_Value
1 1 2004 1/1/04 100
1 2 2004 1/2/04 300
1 3 2004 1/3/04 400
2 1 2004 1/1/04 50
2 2 2004 1/2/04 125
Any help would be appreciated as I am struggling with this.
Thanks in advance.