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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple calculation

Status
Not open for further replies.

Horns

Technical User
Nov 8, 2002
12
GB
How would I go about finding the sum of a formula field? I have my formula field displayed in the group footer#2 I now need a sum of this formula field displayed as a total in group footer#1. The formula I'm using is :
Sum ({@Fomula Field})
then when I check this formula I get the following error :
The summary/running total field could not be created.
I know this should be simple but...
 
Sorry, here it is :
if GroupName ({REFEXAM.KCAT}) = "A" then {#Exam count per cat} * 1 else
if GroupName ({REFEXAM.KCAT}) = "B" then {#Exam count per cat} * 2.5 else
if GroupName ({REFEXAM.KCAT}) = "C" then {#Exam count per cat} * 6 else
if GroupName ({REFEXAM.KCAT}) = "D" then {#Exam count per cat} * 12 else
if GroupName ({REFEXAM.KCAT}) = "E" then {#Exam count per cat} * 30 else
if GroupName ({REFEXAM.KCAT}) = "F" then {#Exam count per cat} * 60 else {#Exam count per cat} * 1


Basically its generates a weightings total, i.e if one use preformed 7 procedures with a weighting of "A" that would be the equivalent of 7 points if he/she also perfomed 6 "D" procedures that would be worth 72 points. I also need am overall total that would add all the weightings together so using the figures above this user preformed 13 procedures with a total of 79 points. Thanks very much for your time.
 
In your summary field: {#Exam count per cat}, are there any conditions that you've applied? What's the criteria for {#Exam count per cat}?

Thanks,

Naith
 
The {#Exam count per cat} running total is just a simple procedure count. I use it to ascertain the number of "A","B","C", etc.. Procedures. The report also groups by the procedure type (A,B,C, etc...), this running total is reset on the change of group.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top