Query to get Count of items

naomi1017

New member
Local time
Today, 10:36
Joined
Jul 18, 2012
Messages
7
Creating Pie Chart from Count Query

My Data gets one of 4 labels: A, R, N, X. I want a pie chart that shows how many of each I have.

I created a query (StatusCounts) using Group By and Count. It lists “OrderStatus” and CountofOrderStatus.

Whenever I use this query to create a chart I get the default Access data not the data that’s actually in that query. Any ideas?
 
Last edited:
Hello naomi1017, would this SQL Query not suit what you are trying to do?
Code:
SELECT OrderStatus, Count(OrderStatus) As CountOfOrderStatus
FROM [tableName] GROUP BY OrderStatus;
 

Users who are viewing this thread

Back
Top Bottom