Solved

Crystal Reports Grouping

Posted on 2011-09-26
9
285 Views
Last Modified: 2012-06-27
Hi,

I need to group something a certain way and just can't figure it out.  Here's what it's doing now:

Total apples sold monday = 30
Red = 15
Green = 15

Total apples sold Tuesday = 50
Red = 20
Green = 30
-----------------------------
I need it to do this:

Total apples sold monday = 30
Total apples sold Tuesday = 50

Red = 35
Green = 45

Thanks,
Joel
0
Comment
Question by:Genius123
  • 4
  • 4
9 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 36600859
Depending on the data try this

I assume you have a formula that determines the apple color for the counts

Suppress the detail and group footers
Put summaries of the color counters in the report footer

mlmcc
0
 

Author Comment

by:Genius123
ID: 36600959
That didn't seem to work.  Basically, I'm trying to get Group 2 (by department) to go right below Group 1 (by date).  Do you mind if I send you the file?  I'll attach it.  You'll see that my example was just an example and what I"m doing is more involved. COQ-For-Experts.rpt
0
 
LVL 14

Expert Comment

by:LinInDenver
ID: 36601173
Is your output flexible? If so, you might want to consider a couple of cross tabs. One cross tab giving totals by Date (grouped by Day if asked), and then a 2nd one giving totals by Color.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 36648310
This does seem to really be a cross tab but it may not work well because the columns are all different.

Look at the attached report
Changes are in RED

mlmcc
COQ-For-ExpertsRev1.rpt
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 36656043
Or building on Lin's idea

Look at the start of the cross tabs

mlmcc
COQ-For-ExpertsRev2.rpt
0
 

Author Closing Comment

by:Genius123
ID: 36710906
Thanks for your help.  This will get me started.
0
 

Author Comment

by:Genius123
ID: 36714581
In the report example posted on 09/26/11 06:33 PM, ID: 36656043  , I can't figure out how you got the column header in the cross tab to show the headers.  Can you help me?  Should I start a new post?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 36717354
As stated in your other question, I put it in the DISPLAY STRING in the format object

You could just change the formula to have the same information

mlmcc
0
 

Author Comment

by:Genius123
ID: 36718037
Thanks mlmcc.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now