G
Guest
newbie.
Hi, I don't know if this is possible and if it is I
imagine there's a better way to do it than I'm trying.
The following crosstab query produces the results in the
sudo table below it. Is there anyway to total the date
columns (under the asterix line below)?
TRANSFORM Sum(xresources.days_required) AS Days_required
SELECT xresources.job_name, Max(xresources.priority) AS
MaxPriority, Min(xresources.flexability) AS
MinFlexability, xresources.phase
FROM xresources
GROUP BY xresources.phase, xresources.job_name
ORDER BY xresources.job_name, xresources.phase
PIVOT Format([date],'Short Date') IN (1/1/2003, 1/2/2003,
1/3/2003, 1/4/2003, 1/5/2003);
job_name..Priority..Flexability..phase..1/1/03..1/2/03
Bacon.....5.........1............Sales..1
DeFrances.2.........1............Sales..1.......1
**************************************************
Daily Totals............................2.......1
Hi, I don't know if this is possible and if it is I
imagine there's a better way to do it than I'm trying.
The following crosstab query produces the results in the
sudo table below it. Is there anyway to total the date
columns (under the asterix line below)?
TRANSFORM Sum(xresources.days_required) AS Days_required
SELECT xresources.job_name, Max(xresources.priority) AS
MaxPriority, Min(xresources.flexability) AS
MinFlexability, xresources.phase
FROM xresources
GROUP BY xresources.phase, xresources.job_name
ORDER BY xresources.job_name, xresources.phase
PIVOT Format([date],'Short Date') IN (1/1/2003, 1/2/2003,
1/3/2003, 1/4/2003, 1/5/2003);
job_name..Priority..Flexability..phase..1/1/03..1/2/03
Bacon.....5.........1............Sales..1
DeFrances.2.........1............Sales..1.......1
**************************************************
Daily Totals............................2.......1