S
Susan L
Have searched the groups on the topic, found Nz, but can't get it to work. I
probably have the expression in the wrong place in my query. It's in the
Value column.
Here's the SQL for Nz in the Value column :
TRANSFORM Count(Val(Nz([TicketNum],0))) AS [The Value]
SELECT qry_Metrics_Crosstabs_Base.ProgramArea,
Count(qry_Metrics_Crosstabs_Base.TicketNum) AS [Total Tickets]
FROM qry_Metrics_Crosstabs_Base
WHERE (((qry_Metrics_Crosstabs_Base.ProgramArea)="CSENet"))
GROUP BY qry_Metrics_Crosstabs_Base.ProgramArea
PIVOT qry_Metrics_Crosstabs_Base.Category In ("Business
Guidance","Application Error","Exchange Agreements","State Interface
Change","State Interface Error","State Testing","Technical Guidance");
Here's the SQL for placement in the Column heading (called Catetgory).
TRANSFORM Count(qry_Metrics_Crosstabs_Base.TicketNum) AS CountOfTicketNum
SELECT qry_Metrics_Crosstabs_Base.ProgramArea,
Count(qry_Metrics_Crosstabs_Base.TicketNum) AS [Total Tickets]
FROM qry_Metrics_Crosstabs_Base
WHERE (((qry_Metrics_Crosstabs_Base.ProgramArea)="CSENet"))
GROUP BY qry_Metrics_Crosstabs_Base.ProgramArea
PIVOT Nz([Category],0) In ("Business Guidance","Application Error","Exchange
Agreements","State Interface Change","State Interface Error","State
Testing","Technical Guidance");
Would appreciate your help. Thanks.
probably have the expression in the wrong place in my query. It's in the
Value column.
Here's the SQL for Nz in the Value column :
TRANSFORM Count(Val(Nz([TicketNum],0))) AS [The Value]
SELECT qry_Metrics_Crosstabs_Base.ProgramArea,
Count(qry_Metrics_Crosstabs_Base.TicketNum) AS [Total Tickets]
FROM qry_Metrics_Crosstabs_Base
WHERE (((qry_Metrics_Crosstabs_Base.ProgramArea)="CSENet"))
GROUP BY qry_Metrics_Crosstabs_Base.ProgramArea
PIVOT qry_Metrics_Crosstabs_Base.Category In ("Business
Guidance","Application Error","Exchange Agreements","State Interface
Change","State Interface Error","State Testing","Technical Guidance");
Here's the SQL for placement in the Column heading (called Catetgory).
TRANSFORM Count(qry_Metrics_Crosstabs_Base.TicketNum) AS CountOfTicketNum
SELECT qry_Metrics_Crosstabs_Base.ProgramArea,
Count(qry_Metrics_Crosstabs_Base.TicketNum) AS [Total Tickets]
FROM qry_Metrics_Crosstabs_Base
WHERE (((qry_Metrics_Crosstabs_Base.ProgramArea)="CSENet"))
GROUP BY qry_Metrics_Crosstabs_Base.ProgramArea
PIVOT Nz([Category],0) In ("Business Guidance","Application Error","Exchange
Agreements","State Interface Change","State Interface Error","State
Testing","Technical Guidance");
Would appreciate your help. Thanks.