Hope this will clarify:
My objective is to create a 3-line chart based on my Access data. One line for Incoming items, one line for Outgoing items, and since the Incoming outpaces the Outgoing, a third line to show the Backlog of items waiting to go out. This chart will show totals for the three lines at weekly intervals.
First I did a query to convert all Incoming and Outgoing dates into week numbers for the weeks in which they occurred. This yielded (in Form view) a solid column of (ascending) Incoming week numbers, next to a column of Outgoing week numbers that had many blank spaces mixed in. When I tried to sort both in ascending order, it got rid of the Outgoing blanks, but I lost data from the Incoming column.
So, I did two individual queries off that query, to separate the Incoming from the Outgoing. This gave me two columns (one in each query) of week numbers with no missing data and no blank spaces.
Because I originally converted each date into a week number, both columns have recurring week numbers in them.
For example: There were four Incoming items on dates during week 48 of last year, so the number 48 is repeated in four consecutive rows under the column in the Incoming query. There were two Outgoing items during that same week, so the number 48 is repeated twice in the Outgoing query. And so on....
Then, I did a Find Duplicates query on each of the separated queries, which yielded totals for the number of times each week number appeared. So now I've got something like the following:
Incoming Query:
Week Number ---- Total
48 --------------- 4
49 --------------- 3
50 --------------- 11
etc.
Outgoing Query:
Week Number ---- Total
48 --------------- 2
49 --------------- 5
50 --------------- 5
etc.
How can I take these results and plot them on a line chart to show those weekly totals (each week number being a unit on the X axis, and the totals on the Y axis) with one line for Incoming, one for Outgoing, and a third which would show the Backlog? (I need to know how to arrive at that Backlog line too).
Hopefully that gives a better picture of where I'm at and what I want to achieve.
Additional help from Pat or anyone would be great! Thanks!