percentages calculated for a report

C

C. Adamek

I have a report for a query that pulls from 3 tables. The main table contains
employee hours by month and budget code. The supplemental tables contain
budget code descriptions and additional employee information.

In the code footer, I calculate the total hours by code for the year-to-date.

In the employee footer, I calculate the total hours by employee for the
year-to-date.

What I would like to add is column that shows the total hours by code as a
percent of the total hours by employee. Is this possible? If so, how do I
do it?
 
W

Wolfgang Kais

Hello.
C. Adamek said:
I have a report for a query that pulls from 3 tables. The main table
contains employee hours by month and budget code. The supplemental
tables contain budget code descriptions and additional employee
information.
In the code footer, I calculate the total hours by code for the
year-to-date.
In the employee footer, I calculate the total hours by employee for the
year-to-date.
What I would like to add is column that shows the total hours by code
as a percent of the total hours by employee. Is this possible? If so,
how do I do it?

In the code footer, add a textbox, formatted as "percentage", that has a
control souce like this:
=[CodeFooterTotalTextBox]/[EmployeeFooterTotalTextBox]
(replace my names with the names of your total-textboxes)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top