Microsoft Access 2007 Query/Report Calculated Fields

10 pts.
Tags:
DCount function
Microsoft Access
Microsoft Access 2007
Microsoft Access reports
I have a table with customer estimates and sales. I need a report to reflect the closure rate by total number of jobs within a given section (in this example subdivided by lead source). Each job can have multiple records. I need to get the % based on grouping estimates for specific jobs. (7 estimates that all begin with the same first 5 characters belong to the same job and should be counted as 1 job not 7). I got the report to group and count. What I can't seem to do is to calculate the % based on the "grouped" field. Can you do a DCount combined with a "left([fieldname],5)(for grouping) and then divide that field by another DCount where the [sales amount] for that record is >0. I get an #Error when I run this and can not seem to find much information about this type of calculation using DCount.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following