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

Totaling 1

Status
Not open for further replies.

cacyf

Technical User
Nov 5, 2007
5
US
We are using Crystal Reports version 11. We are summing up fields that have different rates.

For example we have a Standard Rate of $100.00 then a Driver Rate of $50.00.

When we are summing up the Standard Rate it is straight forward because we add each record.

When we use the Driver Rate, even though it may have several records, we just want to sum the first record that we have it grouped by.

The problem comes in when we need to generate totals. We want to sum all of the Standard Rates with All of the Driver Rates. What happens is it doubles, triples, etc. the Driver Rates (ofcourse depending on the number of records).

Example:

Standard Rate $100
Standard Rate $150
Driver Rate $50.00 (browse results has 3 records)

Total = $400

We want the Total to be $300.00.

Is there some way to do this? We cannot change our data groupings and we have tried adding two Running Totals but we get no results.

Thanks
 
may be you can use standardrate+standardrate+Maximum(driverrate)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top