O
Office User
Hopefully this post doesn't get too long but I want to give all the info I
can.
BACKGROUND: I have an DB with 1 table that keeps track of 1/2 call
increments showing calls taken, # coming in, % that go to voice mail, etc. I
developed a report from a Total Query that groups on the time intervals and
Averages some of different fields. The table name is All Calls (if you're
looking at the SQL below).
Although I used Design View to make it, here's the SQL for the query (if
you're interested or it will help). Sorry if it gets too messy with the AS
pieces. I'm sure it came from the "renaming" I did to make the fields more
intuitive as I worked on the report.
SELECT [All Calls].[Start Time], Avg([All Calls].[ACD Calls]) AS [ACD
Calls], Avg([All Calls].[Avg ACD Time]) AS [Avg ACD Time], Avg([All
Calls].[Max Delay]) AS [Max Delay], Avg([All Calls].[Avg Speed Ans]) AS [Avg
Ans Speed], Avg([All Calls].[Avg Aban Time]) AS [Avg Aban Time], Avg([All
Calls].[Aban Calls]) AS [Aban Calls], Avg([% Aband Calls]/100) AS [% Aban],
Avg([All Calls].[Flow Out]) AS [Voice Mail Calls], Avg([% Flow Out
Calls]/100) AS [% Voice Mail], Avg([All Calls].[Avg Pos Staff]) AS [Avg Pos
Staff]
FROM [All Calls]
GROUP BY [All Calls].[Start Time];
PROBLEM: The report displays my fields (which are essentially averages)
just fine in the Details section. Now I would like to have an overall
Average displayed. I keep getting a #Error when the report is run.
The MS site I found
http://office.microsoft.com/en-us/assistance/HA011814481033.aspx
seems to indicate it's not recognizing which field to Average. I've tried
renaming fields on the report with underscores between words. For example,
one of the fields is [ACD Calls]. Using the properties of the control, I
changed the name to ACD_Calls. Then in my header, I tried a control using
=Avg([ACD_Calls]) thinking with a different name, it could recognize it.
That still gives me #Error. By using the underscore in the name, I was
hoping I took out all possibilities of the circular reference as well (as
indicated in the article).
Any other suggestions? I would think with all Access can do it should be
capable of figuring an Average of Averages.
If you need some further/better explanation of what I'm trying to do or
would like to see the DB I have, let me know.
Thanks so much for any insight.
Marcia
can.
BACKGROUND: I have an DB with 1 table that keeps track of 1/2 call
increments showing calls taken, # coming in, % that go to voice mail, etc. I
developed a report from a Total Query that groups on the time intervals and
Averages some of different fields. The table name is All Calls (if you're
looking at the SQL below).
Although I used Design View to make it, here's the SQL for the query (if
you're interested or it will help). Sorry if it gets too messy with the AS
pieces. I'm sure it came from the "renaming" I did to make the fields more
intuitive as I worked on the report.
SELECT [All Calls].[Start Time], Avg([All Calls].[ACD Calls]) AS [ACD
Calls], Avg([All Calls].[Avg ACD Time]) AS [Avg ACD Time], Avg([All
Calls].[Max Delay]) AS [Max Delay], Avg([All Calls].[Avg Speed Ans]) AS [Avg
Ans Speed], Avg([All Calls].[Avg Aban Time]) AS [Avg Aban Time], Avg([All
Calls].[Aban Calls]) AS [Aban Calls], Avg([% Aband Calls]/100) AS [% Aban],
Avg([All Calls].[Flow Out]) AS [Voice Mail Calls], Avg([% Flow Out
Calls]/100) AS [% Voice Mail], Avg([All Calls].[Avg Pos Staff]) AS [Avg Pos
Staff]
FROM [All Calls]
GROUP BY [All Calls].[Start Time];
PROBLEM: The report displays my fields (which are essentially averages)
just fine in the Details section. Now I would like to have an overall
Average displayed. I keep getting a #Error when the report is run.
The MS site I found
http://office.microsoft.com/en-us/assistance/HA011814481033.aspx
seems to indicate it's not recognizing which field to Average. I've tried
renaming fields on the report with underscores between words. For example,
one of the fields is [ACD Calls]. Using the properties of the control, I
changed the name to ACD_Calls. Then in my header, I tried a control using
=Avg([ACD_Calls]) thinking with a different name, it could recognize it.
That still gives me #Error. By using the underscore in the name, I was
hoping I took out all possibilities of the circular reference as well (as
indicated in the article).
Any other suggestions? I would think with all Access can do it should be
capable of figuring an Average of Averages.
If you need some further/better explanation of what I'm trying to do or
would like to see the DB I have, let me know.
Thanks so much for any insight.
Marcia