I am trying to run a query based off of a single table that lists global shipments. Basicaly what I am trying to do is count the number of UPS shipments (Carrier) from each country, the problem is not all countries are sending via UPS and therefore it doesn't include that country on the results. Then once I run the month end Report, it excludes the country because it had a Null value in this query.
SELECT[GPMO].[From Country], Count([GPMO].Carrier) AS CountofCarrier
FROM[GPMO]
WHERE(((GPMO].Carrier)="UPS"))
GROUP BY[GPMO].[From Country]
ORDER BY Count([GPMO].Carrier) DESC;
I have tried:
SELECT[GPMO].[From Country], Nz(Count([GPMO].Carrier),0)
However this has not worked. Any suggestions?