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!

Sum of 1 Item in a group.

Status
Not open for further replies.

SDS100UK

MIS
Jul 15, 2001
185
GB
Hi,

I have a report that tells me how many insurance quotes have been given by adviser by each day.

There are a number of permutations like with £50 excess or £100 excess etc etc, so the system generates the premiums for all permutations.

There is a field that tells me which permutation the customer picked.

All I want to do is sum the premium field that has been accepted. I do need to see all the other records that are not accepted though, for other reasons.

This sounds so simple.....yet I am at the point of pulling my hair out!!!

Please can some one stop me from going bald!!!!

Many thanks in advance

Steven
 
OK, i'd create a group based on the permutations field then click on the premium field, goto Insert > Summary, then choose sum based on the permutation group.

This will give you a group based on £50 excess with a total of the premiums for this premutation at the bottom of the group.

Hope this helps.
Reebo
Scotland (Going mad in the mist!)
 
Create a formula such as:
-------------------------------------------------
IF {customer_picked} = "Yes" THEN {excess} ELSE 0
-------------------------------------------------
Then, Sum that field.

Note: this can be done in one step using a Running Total
with an Evaluate condition of {customer_picked} = "Yes"

Cheers,
- Ido CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top