We help IT Professionals succeed at work.
Get Started

Crystal Reports 2008 - Subtotal the Sum of an Average

bruno71
bruno71 asked
on
1,531 Views
Last Modified: 2012-05-09
I have a report for machine downtime in our company.  On the details line is a database field with an integer for # of minutes.  My Group # 3 is by Shift.  Group # 2 is by Date. Group # 1 is by Machine.

So far, I can insert a summary into Group # 3 Footer to get an Average of the # minutes for the Shift.  Now I want to add those averages together for each Shift to get a sum total number of minutes for the Date.  And then I will add up the daily totals for a total number of minutes for each machine.  And then a grand total for the report.  However, I can't seem to create a sum total of the average.  It will only let me summarize the original database field.

Here is an example of what I'm looking for...

Detail - 480
Detail - 510
Detail - 480
GF3 -  Shift 1 - 490
Detail - 480
Detail - 480
Detail - 480
GF3 - Shift 2 - 480
GF2 - 6/9/10 - 970
...
...
GF2 - 6/10/10 - 985
GF1 - Machine # 3 - 1955
...
...
Report Footer - Grand Total - 6250


How can I trick CR2008 into giving me a total of an average?  
Thanks.

~bruno71

Comment
Watch Question
Senior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013
Commented:
This problem has been solved!
Unlock 2 Answers and 21 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE