troubleshooting Question

Crystal Reports - Add together rows with sums of 2 columns

Avatar of PresidentLincoln
PresidentLincolnFlag for United States of America asked on
Crystal ReportsGolang
6 Comments1 Solution103 ViewsLast Modified:
I am currently writing a Crystal Report in CR 13 SP 12.   I have several rows that look like this:

Name           Service         Quantity         Time Spent
Jeff                Lawn                   1                    3 hours
Jeff                Lawn                   1                    4 hours 
Rick               Floors                  1                    2 Hours    
Rick               Floors                  1                    1 Hour   
Rick               Floors                  1                    3 Hours
     

What I need to do is combine the rows for each name, adding together the "Quantity" and "Time Spent" columns, so the output would look something like this:

Name            Services            Quantity           Time Spent
Jeff                 Lawn                   2                      7 Hours
Rick               Floors                  3                       6 Hours 

How would I go about combining the rows and getting sums in this way?  So far I've created grops for the names and for the Services, but can't break through that next wall.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros