Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Tips and Tricks
Message Icon Topic: Runing total of a group summery Post Reply Post New Topic
Author Message
Paul J
Newbie
Newbie


Joined: 16 Mar 2009
Location: United States
Online Status: Offline
Posts: 2
Quote Paul J Replybullet Topic: Runing total of a group summery
    Posted: 01 Jul 2009 at 7:27am
Help -
I want to add up all the formula fields located from a group footer 4 to the higher level group footer 2.  Because the sumation in group 4 is a formula, not a sum of the detail iline items, I cannot use the sum feature of crystal.
 
Problem
I cannot find a way to add each Group 4 formula field together in Group two.
 
Details:
Group 1 - Department
Group 2 - Employee
Group 3 - Project
Group 4 - Task
 
Detail line:
Project -  Task -  Hours [reported]
 
Group 4 footer:
Task code  - Total hours (sum of Hours reported) - Billable hours (a formula field)
 
1. In the group 4 footer 'total hours' is a crystal sum of hours  from many detail lines.
 
2. In the same group footer I've place an 'if, then'  formula field that compares those 'total hours'  to another table to see if they are availabe for billing or not.  The appropriate number of 'billable hours' are the result.
 
I need to add these 'billable hours' together for the employee summery in footer 2.
 
Group 2 footer
Employee - Total hours reported - Total billable hours (problem field)
 
What I've tried...
  • The sum feature does not work because the information needed is from a formula field, not the detail line.
  • I cannot apply the folmula per detail line, because I have to first accumulate all like hours for a project, then compare the total to available billing hours.
  • The running total feature does not present formula fields for summing.
Thanks,
 
Paul
 
 
 
 
 
Paul J
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 01 Jul 2009 at 9:30am
YOu cannot use a summary function in another summary function.
You indicated
" In the same group footer I've place an 'if, then'  formula field that compares those 'total hours'  to another table to see if they are availabe for billing or not.  The appropriate number of 'billable hours' are the result."
Is this row level data per detail line that indicates if the hours on that row are to be billed or not? If not how are you getting this data? a sub report?
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.000 seconds.