Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Survey Results into Graph w/ percentages

Status
Not open for further replies.

candaceb

Technical User
Mar 18, 2005
5
US
I have inputed the results from a survey into access, and I would like to show the results in a graph. All the answers are in text and i cannot figure out how to make the graph show the results in percentages based on a whole. Can someone please help?!?
 
start with something like this
Code:
SELECT t1.txtResults, Count(t1.ID) AS CountOfID
FROM tblSurvey t1
WHERE whatevercriteria
GROUP BY t1.txtResults;
Now you have numbers...
Code:
txtResults CountofId
don't care  9
hated it    4
love it     3

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
There is a sample of an Access survey at One of the reports has pie charts with percentages.

Next time you should provide some information about your table structure. How do we know the best method to get you some place if we don't know where you are starting from?

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top