473,378 Members | 1,152 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Second POST.. Help with report summary

I am posting this again since I am on a deadline to get this
completed... Sorry for being redundant...

I have a table with a UPC#, CasesCompleted, TotalHours, standardGoal
(pieces per hour)
I am generating a report that groups by UPC and figures out production
goals. In the Detail section of each UPC, I have a calculated field
that looks like this:
=sum([CasesCompleted])/sum([totalHours])/([standardGoal])
This gives me the percentage of production. Each UPC has a different
standardGoal.
My question is: How can I get an average goal in the Report Footer by
using the amount in the calculated field when each UPC is using a
different standardGoal?
Any thought, ideas, code, or general direction would be greatly
appreciated.

The reason for the totaling of the goals for all UPCs is that
depending on the the percent of goal average that the production floor
has reached for the month, quarter or year,we have a program here that
pays out incentives for an average goal of over 105%. I hope that
clears it up a little. The individual UPC goals are a 'weighted' goal.
That is, it totals all the hours ran and all cases ran to determine
the goal%. The same will be for the Report Footer. Any ideas?
questions?

Is the report footer the best place to calculate this? If not, please
give me ideas on a query that may do the same.
Nov 12 '05 #1
4 1424
Norma,
I had a similar problem for an actual waste vs std waste report I did.
When it comes to the group level, you need a weighted average of your
standard goal number. First, be aware that in reports you can
reference the names of other textboxes in your report just like you do
fields from the recordsource.

So if you create one textbox control in the group footer called
"GroupSumTotalHours" with a value =Sum([totalHours)

And another textbox control in the group footer called
"GroupWeightedStandardGoal" and give it a value
=Sum([standardGoal]*[totalHours])/[GroupSumTotalHours]

Then your formula for weighted efficiency would be:
=sum([CasesCompleted])/sum([totalHours])/[GroupWeightedStandardGoal]

Actually, it would be the same thing if you assign this value:
=sum([CasesCompleted])/[GroupSumTotalHours]/[GroupWeightedStandardGoal]

I hope this works for you.
Nov 12 '05 #2
Thanks for your help,
That works great for the group footer but how do I average the goal in
the report footer which includes all the UPCs hours and cases?
My report is generated by a date parameter that is entered. When I
tried to reference a text box that was created in the group footer, in
the report footer, I get the name of that text box popping up after I
enter the date parameters when trying to run the report.
Maybe I am trying to do something that is not possible in access.
If this is the case, can I export data from Access into Excel to do
these calculations and them import the Goal average back into access?

mh**********@spammotel.com (frasmus44) wrote in message news:<f8************************@posting.google.co m>...
Norma,
I had a similar problem for an actual waste vs std waste report I did.
When it comes to the group level, you need a weighted average of your
standard goal number. First, be aware that in reports you can
reference the names of other textboxes in your report just like you do
fields from the recordsource.

So if you create one textbox control in the group footer called
"GroupSumTotalHours" with a value =Sum([totalHours)

And another textbox control in the group footer called
"GroupWeightedStandardGoal" and give it a value
=Sum([standardGoal]*[totalHours])/[GroupSumTotalHours]

Then your formula for weighted efficiency would be:
=sum([CasesCompleted])/sum([totalHours])/[GroupWeightedStandardGoal]

Actually, it would be the same thing if you assign this value:
=sum([CasesCompleted])/[GroupSumTotalHours]/[GroupWeightedStandardGoal]

I hope this works for you.

Nov 12 '05 #3
Thanks for your help,
That works great for the group footer but how do I average the goal in
the report footer which includes all the UPCs hours and cases?
My report is generated by a date parameter that is entered. When I
tried to reference a text box that was created in the group footer, in
the report footer, I get the name of that text box popping up after I
enter the date parameters when trying to run the report.
Maybe I am trying to do something that is not possible in access.
If this is the case, can I export data from Access into Excel to do
these calculations and them import the Goal average back into access?

mh**********@spammotel.com (frasmus44) wrote in message news:<f8************************@posting.google.co m>...
Norma,
I had a similar problem for an actual waste vs std waste report I did.
When it comes to the group level, you need a weighted average of your
standard goal number. First, be aware that in reports you can
reference the names of other textboxes in your report just like you do
fields from the recordsource.

So if you create one textbox control in the group footer called
"GroupSumTotalHours" with a value =Sum([totalHours)

And another textbox control in the group footer called
"GroupWeightedStandardGoal" and give it a value
=Sum([standardGoal]*[totalHours])/[GroupSumTotalHours]

Then your formula for weighted efficiency would be:
=sum([CasesCompleted])/sum([totalHours])/[GroupWeightedStandardGoal]

Actually, it would be the same thing if you assign this value:
=sum([CasesCompleted])/[GroupSumTotalHours]/[GroupWeightedStandardGoal]

I hope this works for you.

Nov 12 '05 #4
nj**********@suscom.net (Norma) wrote in message news:<20**************************@posting.google. com>...
Thanks for your help,
That works great for the group footer but how do I average the goal in
the report footer which includes all the UPCs hours and cases?
My report is generated by a date parameter that is entered. When I
tried to reference a text box that was created in the group footer, in
the report footer, I get the name of that text box popping up after I
enter the date parameters when trying to run the report.
Maybe I am trying to do something that is not possible in access.
If this is the case, can I export data from Access into Excel to do
these calculations and them import the Goal average back into access?

The approach I mentioned before should work fine in the report footer
or in the group footer. My understanding is that Access takes the
functions you use like "=sum([CasesCompleted])" in the context of the
section where you use it.

So first create a textbox control in the REPORT footer called
"ReportSumTotalHours" with a value =Sum([totalHours)

Create another textbox control in the report footer called
"ReportWeightedStandardGoal" and give it a value
=Sum([standardGoal]*[totalHours])/[ReportSumTotalHours]

Then your formula for weighted efficiency over the whole report would
be:
=sum([CasesCompleted])/[ReportSumTotalHours]/[ReportWeightedStandardGoal]

Try that and let me know if it works for you!
Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Phillip N Rounds | last post by:
I have a webform, from which I have to submit info to another site. Their instructions are to have a html form, with the following as the submit: <form method="post"...
2
by: Galina | last post by:
Hello I have a report, which lists records. Each record has money paid field. Money paid can be 0 or not 0. I calculate and print summary of money for a group in the group footer, as well as...
2
by: David Mitchell | last post by:
I have to create a function which cycles through all of the clients customers, selects any advice notes issued during the period in question and print of an invoice for each advice note and also a...
1
by: Ruth | last post by:
Alison, You are going to find this a real coincidence! To begin with, I am Roberta Laird's husband. I think you know Roberta. We also are friends with Laura McConnell. Anyway, I am in business...
2
by: Fatih BOY | last post by:
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none...
3
by: pat | last post by:
I'm working on a report. I have two categories (groups) with a field labeled "Amount Funded." I want to create a subtotal column (for each group) that subtracts the "Amount Funded" from a number...
1
by: Newbie | last post by:
I am pretty new to Access Reports. I used the wizard to write a detail report that works well. In the group footer, I would like to show the totals for each column in my report. So, I wrote...
4
by: billelev | last post by:
Hello. I have a report that displays the following information. Accounts StockName (Accounts can have many StockNames, and multiple instances of a StockName) CashInvested (Each StockName has...
2
by: katedw203 | last post by:
I can't believe I can't figure this out, but I am having trouble with a summary report. Basically, I have 1 table that captures a variety of information about a patient's visit to a clinic. in my...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.