Results 1 to 6 of 6

Thread: [RESOLVED] Summing

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Location
    carmi,IL.
    Posts
    105

    Resolved [RESOLVED] Summing

    Hello:

    Is there anyway to SUM a formula? I used a formula that calulates money value for each record. The reason I had to use a formula is because depending on different parameters in the record, each record is devide by a different number. So I had to create a formula. Now I need to total each of (@Dollar) formula for each group in my report.
    David M. Camp

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Summing

    Assuming Crystal, if the Formula appears on the report you should be able to right-click and select the Insert -> Summary from the popup menu.

    Otherwise, use Insert -> Summary from the main menu.

    You could also write a formula
    Sum({@Dollar}, {Same Field used in a Group})

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Location
    carmi,IL.
    Posts
    105

    Re: Summing

    Thats just it, If I try to use the insert method the formula field is NOT displayed. If I try to write another formula it tells me formula field CANNOT be summerized. Any other Ideas. This is CRYSTAL REPORT 9
    David M. Camp

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Summing

    Post the formula.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Location
    carmi,IL.
    Posts
    105

    Re: Summing

    Sum ({Credits.CreditIN}, {Machines.MchName})/{Machines.PulseDollar}

    This gives me the correct group total per (Machine-group). Each machine is a group.But I also need a Total for each location group. 12 machines per location.

    I hope this makes sense.
    My formula is {@Dollar}
    Thank You.
    David M. Camp

  6. #6
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Summing

    Unfortunately you cannot Sum a formula that uses Sum.

    Without knowing more about your report I would just be guessing at possible solutions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width