T
TW Bake
Hi All,
I am trying to produce a running count of product sales by week. Not
all products are sold each week. So I need a query to increment each
week then count the number of products that preceded it. For Example:
Wk Prod A Prod B
2/1 10 11
2/8 12 11
2/15 13 15
The challenge is that I don't want to have to put all possible dates
in a table, the scope could be several years. So I'd like the week
field to be auto-generated from a designated starting point and go to
a designated end point (about 2 years out). The Product counts should
be cumulative. The final query will be used to produce a cumulative
line chart.
I've tried looking up incremental counts but haven't found anything
that works. Any help is appreciated.
I am trying to produce a running count of product sales by week. Not
all products are sold each week. So I need a query to increment each
week then count the number of products that preceded it. For Example:
Wk Prod A Prod B
2/1 10 11
2/8 12 11
2/15 13 15
The challenge is that I don't want to have to put all possible dates
in a table, the scope could be several years. So I'd like the week
field to be auto-generated from a designated starting point and go to
a designated end point (about 2 years out). The Product counts should
be cumulative. The final query will be used to produce a cumulative
line chart.
I've tried looking up incremental counts but haven't found anything
that works. Any help is appreciated.