D
DougW via AccessMonster.com
Hi-
I have created a query (with much help from folks on this forum) that lists
deliveries of parts by date. Now I am struggling to create a report that
summarizes the information. I could use more help.
There are 7 different Part types. Each Part is further described by 3
Variables.
There are 4 possible values for Variable 1 (V1), 11 values for V2, and 4
values for V3.
So there are 176 possible variants of each Part.
My query records contain this information:
Record index#
V1 value (1-4)
V2 value (1-11)
V3 value (1-4)
Part Type# (1-7)
Delivery date
The report that I have created (so far) organizes the information with the
following nested groups:
Group by delivery month (in ascending order)
- Group by V1 (ascending)
-- Group by V2 (ascending)
--- Group by V3 (ascending)
---- Detail (for that combo of date,V1,V2,V3) lists that month's count for
Part1, P2, P3, P4, P5, P6, P7
So far that all works fine. The grouping levels in the report show only the
Parts by Variable that exist as records (i.e. I have avoided created a
"spreadsheet" with 176 columns).
Now I would like to add a cumulative sum of each combination of Part# and the
3 variables (V1, V2, V3) over time. I can't simply use a running sum of
each part, since I need to distinguish them by the unique combination of
Variables.
For example, I might have a delivery of Part#1 with V1=2, V2=8, V3=1, in
qty=7, in June 2008.
The next time there is a delivery of P1 with those same V1, V2, V3 values may
be Nov 2008, in qty=3.
In that detail row, next to the qty 3 value, I would like to see the
cumulative sum of (10).
Can anybody suggest a strategy to allow me to track the cumulative sum of
distinct parts over time?
I appreciate any ideas you may have.
thanks,
Doug
I have created a query (with much help from folks on this forum) that lists
deliveries of parts by date. Now I am struggling to create a report that
summarizes the information. I could use more help.
There are 7 different Part types. Each Part is further described by 3
Variables.
There are 4 possible values for Variable 1 (V1), 11 values for V2, and 4
values for V3.
So there are 176 possible variants of each Part.
My query records contain this information:
Record index#
V1 value (1-4)
V2 value (1-11)
V3 value (1-4)
Part Type# (1-7)
Delivery date
The report that I have created (so far) organizes the information with the
following nested groups:
Group by delivery month (in ascending order)
- Group by V1 (ascending)
-- Group by V2 (ascending)
--- Group by V3 (ascending)
---- Detail (for that combo of date,V1,V2,V3) lists that month's count for
Part1, P2, P3, P4, P5, P6, P7
So far that all works fine. The grouping levels in the report show only the
Parts by Variable that exist as records (i.e. I have avoided created a
"spreadsheet" with 176 columns).
Now I would like to add a cumulative sum of each combination of Part# and the
3 variables (V1, V2, V3) over time. I can't simply use a running sum of
each part, since I need to distinguish them by the unique combination of
Variables.
For example, I might have a delivery of Part#1 with V1=2, V2=8, V3=1, in
qty=7, in June 2008.
The next time there is a delivery of P1 with those same V1, V2, V3 values may
be Nov 2008, in qty=3.
In that detail row, next to the qty 3 value, I would like to see the
cumulative sum of (10).
Can anybody suggest a strategy to allow me to track the cumulative sum of
distinct parts over time?
I appreciate any ideas you may have.
thanks,
Doug