You need to include two textBoxs and put something like
For % of Yes
= (([CountOfYes] / [Total]) * 100)
For % of No
= (( [CountOfNo] / [Total] ) * 100)
Jaspreet
Main Topics
Browse All TopicsHi,
I'm trying to calculate percentages in an access report. Basically, I have a y/n field in the database. I've created a report that gives me a count of the number of records that said yes and the # of records that said no. What I want to do is add an additional detail record in the report that indicates what the percentage of records vs. total records that said yes and the percentage of records that answered no. Can anyone help with this. Thanks in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks for all the information. Sorry, I'm a little slow at this. Let me provide more detail and maybe this will help. The database only has one table (tblData). In the tblData is a yes/no field called Concept. I created a query (qryConcept) as the basis for the report (rptConcept). The query Sql is this:
SELECT tblData.Concept, Count(tblData.Concept) AS [Count]
FROM tblData
GROUP BY tblData.Concept
ORDER BY Count(tblData.Concept) DESC;
This gives me the correct count breakdown of Yes to No selections for the report. Then in the report I have the detail section that correctly runs the query and provides the breakdown with an additional field (called Sum) in the footer of the report that has =sum(Count) to get the total. The part I can't seem to figure out is when in the detail section I create another field for percentage and set it to =[Concept]/[Sum] it doesn't calculate correctly. Sorry to be such a pain I just don't understand. Thanks again for all your help.
Business Accounts
Answer for Membership
by: SayedazizPosted on 2005-06-23 at 00:02:40ID: 14281964
so u have in ur report Total yes = say 60 and total no=40 and TotalYesNo = 100 if so,
boxYesname /Reports!urReportName!Text boxTotalna me
boxNoname /Reports!urReportName!Text boxTotalna me
in report footer take a textbox control and in its control source use as follows :
=Reports!urReportName!Text
=Reports!urReportName!Text
Aziz