×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Summing Grouped Items

Summing Grouped Items

Summing Grouped Items

(OP)
I have a report that is grouped and I need to be able to take those grouped items and get a total. I have a product and then grouped within that I have warehouse and direct and within that I have each division that has sold that product. I want a total sales of warehouse and direct for each division under what I already have.

 For example:

                     Sales
Product Name
      Warehouse
           A         $1.00
           B         $3.00
           C         $5.00
Warehouse Total      $9.00
      Direct
           A         $3.00
           B         $3.00
           C         $1.00
 Direct Total        $7.00
 Product Total      $16.00

Below this I want for each product a total for each A,B,C.

Example:
           A        $4.00
           B        $6.00
           C        $6.00
          Total    $16.00

Since I have it grouped by product, then warehouse/direct, then division, I don't get a total for each division by product. Is there a way to do this?

Thanks,
   Sandy


RE: Summing Grouped Items

You can either use a subreport or a crosstab for this, the crosstab might be the easiest if you don't have elaborate formatting requirements.

-k

RE: Summing Grouped Items

(OP)
I tried the subreport, however I have multiple products and I wasn't quite sure how I was going to put that total in the middle of each product. When I do the subreport it puts all the products in that area and I need them between each product. Do you have any suggestions?

Thanks,
   Sandy

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close