T
Todd
Below is the query that returns everything I want to see but I wish to have
the column headings to be like "Mar 9-16" as that would allow me to copy and
paste into Excel with greater efficiency and integrity. Currenty the column
headings are 1,2,3,etc so I would need to format the format in the PIVOT to
return each week number as "MMM D - MMM D".
TRANSFORM Count([07517 m_eggers 1Q08].[Submitted Date Data Type]) AS
[CountOfSubmitted Date Data Type]
SELECT Left(IIf([status] Is Null Or [status]="needs review" Or
[status]="want order number","Pending",[Status]),11) AS [Current Status],
Count([07517 m_eggers 1Q08].[Submitted Date]) AS Total
FROM [07517 m_eggers 1Q08]
GROUP BY Left(IIf([status] Is Null Or [status]="needs review" Or
[status]="want order number","Pending",[Status]),11)
PIVOT Format([Submitted Date Data Type],"ww") In
("1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20");
the column headings to be like "Mar 9-16" as that would allow me to copy and
paste into Excel with greater efficiency and integrity. Currenty the column
headings are 1,2,3,etc so I would need to format the format in the PIVOT to
return each week number as "MMM D - MMM D".
TRANSFORM Count([07517 m_eggers 1Q08].[Submitted Date Data Type]) AS
[CountOfSubmitted Date Data Type]
SELECT Left(IIf([status] Is Null Or [status]="needs review" Or
[status]="want order number","Pending",[Status]),11) AS [Current Status],
Count([07517 m_eggers 1Q08].[Submitted Date]) AS Total
FROM [07517 m_eggers 1Q08]
GROUP BY Left(IIf([status] Is Null Or [status]="needs review" Or
[status]="want order number","Pending",[Status]),11)
PIVOT Format([Submitted Date Data Type],"ww") In
("1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20");