I have Access Crosstab query that Sum's units per week(Monday Dates) by Planner ID. Displays 18 to 20 weeks of data. It looks like:
Planner ID 7/7/03 8/4/03 9/2/03 9/8/03(current wk)
C 8
D 1
E 4
0 5
SQL VIEW IS:
TRANSFORM Sum([SumOfQty])
SELECT [Planner ID]
FROM [WEEKS SUMMED]
GROUP BY [Planner ID]
PIVOT Format([MondayOfWeek],"Short Date"
;
Is there any way to take the past due columns (weeks less than MondayOfCurrent week)
Make one column AS PastDue and Sum the totals
Like this:
Planner ID PastDue 9/8/03 9/15/03
C 8
D 1
E 4
0 5
Planner ID 7/7/03 8/4/03 9/2/03 9/8/03(current wk)
C 8
D 1
E 4
0 5
SQL VIEW IS:
TRANSFORM Sum([SumOfQty])
SELECT [Planner ID]
FROM [WEEKS SUMMED]
GROUP BY [Planner ID]
PIVOT Format([MondayOfWeek],"Short Date"
Is there any way to take the past due columns (weeks less than MondayOfCurrent week)
Make one column AS PastDue and Sum the totals
Like this:
Planner ID PastDue 9/8/03 9/15/03
C 8
D 1
E 4
0 5