Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Average of a Group Formula Field

Status
Not open for further replies.

rhammond

Programmer
Dec 9, 2002
21
US
Here's my issue:
I have a report where Group 1 is the Date, and Group 2 is the time. I've got a field where in order to get the data I need, I create a sum of this field (represents a value in seconds for the record) in Group 2, suppress it, and then have a formula that is displayed (Sum ({field}, {Time Value}, "by hour") / 3600) - 3600 being the number of seconds in an hour.

I want to Summarize it in Group 1 (Date), but instead of a total, I want the Average of my formula field. I've racked my brain with no luck - does anyone have any suggestions? Thanks in advance!
 
Hi-

You should be able to do this using the running total expert as follows:
Select {@your formula} and choose "Average"
Evaluate on change of Group 2
Reset on change of Group 1

The results need to be displayed in the Group 1 footer, not header.

-lb

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top