Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Summing details Post Reply Post New Topic
Author Message
TokyoAnt
Newbie
Newbie


Joined: 16 Feb 2007
Online Status: Offline
Posts: 30
Quote TokyoAnt Replybullet Topic: Summing details
    Posted: 20 Feb 2007 at 2:40am
Hi,
I'm a newbie to crystal reports.
I need to get an average of values in the details section of a report, however the details are nested in two groups & I don't want to sum the sub totals of the groups, only the details of all the group & then display this in group header 1. It needs to be displayed as an average. (Sum then divide by number of values in the details sections of all the groups)
 
The detail value is a percent derived by the formula field:
 
If group 1 name is:
ResourceUsageReport.CompanyName
group 2 is:
ResourceUsageReport.SiteName
group 3 is:
ResourceUsageReport.OrganizationName
 
how can I do this. The value to be displayed must also be a percentage.
The hard part is once I have summed it, what do I divide it with?
 
Thanks very much for any feedback
 
Ant
 
IP IP Logged
gharisuresh
Newbie
Newbie
Avatar

Joined: 01 Mar 2007
Location: India
Online Status: Offline
Posts: 4
Quote gharisuresh Replybullet Posted: 01 Mar 2007 at 2:17am
I got your problem.
 
This problem is solved by using Running Totals. Use the Running Totals fields to get the average.
Suresh
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.