postmanphat
Technical User
Hi,
I have a very basic table/form that collects evaluations - I want to be able to analyse some basic data
I have a lookup field that lists 5 values: Excellent; Good; Ok; Poor; Very Poor.
So lets say my table (tblQ) looks like this:
I've got a v. basic query that will count how many of each responses there are (SELECT response, Count(response) FROM tblQ GROUP BY response) which gives me a nice little breakdown like so:
What I want is an extra column in my query that gives me the % of total responses for that response, i.e.:
But I can't work it out!
Hope thats clear.
Many thanks in advance
Dave
I have a very basic table/form that collects evaluations - I want to be able to analyse some basic data
I have a lookup field that lists 5 values: Excellent; Good; Ok; Poor; Very Poor.
So lets say my table (tblQ) looks like this:
Code:
AutoID Response
-------------------------------
1 Excellent
2 Good
3 OK
4 OK
I've got a v. basic query that will count how many of each responses there are (SELECT response, Count(response) FROM tblQ GROUP BY response) which gives me a nice little breakdown like so:
Code:
Response Count
-------------------
Excellent 1
Good 1
OK 2
What I want is an extra column in my query that gives me the % of total responses for that response, i.e.:
Code:
Response Count Percentage
---------------------------
Excellent 1 25
Good 1 25
OK 2 50
But I can't work it out!
Hope thats clear.
Many thanks in advance
Dave