Crosstab count unique field criteria

H

hoachen

I am trying to do crosstab query that with a unique PO# count, but
unsuccessulf. How do i run this query to count the PO# and group by customer?
Right now this query pull everything and count on it.

Here is the quote
TRANSFORM Count([table1].[PO#]) AS [CountOfPO#]
SELECT [table1].[Customer#], [table1].Status, Count([table1].[PO#]) AS
[Total Of PO#]
FROM [table1]
WHERE ((([table1].Status)="opn"))
GROUP BY [table1].[Customer#], [table1].Status
PIVOT [table1].Qty;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top