How do I create a summary on a formula field? It doesn't seem to let you sum on that
Main Topics
Browse All TopicsI am trying to do a conditional sum of premiums where the isnew field =1. When I try the formula below I get the following error: "The summary/running total field could not be created"
Sum ({qryPendingCAPoliciesForR
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I always use running totals for these
http://support.businessobj
Name - PremiumTotal
Type - Sum
Field - {qryPendingCAPoliciesForRe
Execute - Use a formula
Formula
{qryPendingCAPoliciesForRe
Reset - Never
I am not that familiar with the SUM function and no reference material. You might try
Sum ({qryPendingCAPoliciesForR
mlmcc
If you create the summary off of the formula I provided, you will be able to create a summary from it.
If you use certain functions in your formulas, Crystal will not allow you to create a summary off of that formula. Functions like SUM, COUNT, or any other aggregate summary function will not allow you to create a summary based upon that formula.
One advantage of using a simple formula and inserting a summary off of it is that you can have that total available to you at the beginning of the group or report.
A running total is calculated as the records are printed so it is not accurate until the end of the group or report.
I use the formula-summary method as much as I can because it allows me to be more flexible in my report design, and it is less work when I have multiple groupings, all of which need their subtotal of the same data.
I can create one formula, then insert a summary off of it once, at any level, then copy and paste the summary field into the otehr groups that need it.
If I used running totals, I would need to create a new running total for each level.
Running totals have their places, they are just lower on the priority order for me.
Sorry for the long winded talk there, just thought it was important to explain why I use one mthod over the other.
Business Accounts
Answer for Membership
by: bdreed35Posted on 2005-01-26 at 11:22:52ID: 13145535
You need to do this in a 2 step process:
port.isnew } = "1" then port.Premi ums}
Create a formula that returns the field or 0:
if {qryPendingCAPoliciesForRe
{qryPendingCAPoliciesForRe
else
0
You can noiw insert a summary for any grouping or for the overall report total.
You can also do a running total, but if you need to do totals at more than one level, you will need a new running total for each level.