Solved

Crystal Reports CrossTab Sorting Columns

Posted on 2009-07-13
10
870 Views
Last Modified: 2012-05-07
I have a crosstab that I need to sort the columns so that the "Other" column is a always last.  Does anyone know if or how I can do this?

Any help will be greatly appreciated.
0
Comment
Question by:nobile00
  • 6
  • 4
10 Comments
 

Author Comment

by:nobile00
ID: 24844620
Any help will be very appreciated.

Thanks in advance.
0
 

Author Comment

by:nobile00
ID: 24852673
If anyone could let me know if this can be done and if so how.

Thanks
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24856186
How are you generating the values?

One way is to use a group and sort the group in specified order

mlmcc
0
 

Author Comment

by:nobile00
ID: 24858653
How do I group and sort by specified order?  The values are coming from a View.

Thanks for your help
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24861780
Right click the cross tab in the left corner
Click CROSS TAB EXPERT
Select the ROW field
Click the CHANGE GROUP
You should be able to set the order

mlmcc
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.

 

Author Comment

by:nobile00
ID: 24862061
Thanks I did that.

Just one question will this hold true if more columns are added to the database?  
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24864383
What do you mean more columns?

If you are adding more values for the row then you will need to change the specified order to include the new values.

mlmcc
0
 

Author Comment

by:nobile00
ID: 24864461
If more data is added to the database.

Is there then another way to do this so that the report doen't need to updated all of the time?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 24864688
Not that I am aware of.

How are you getting the OTHERS column?

Is OTHERS a valid data entry?
If so you could use a formula like

IF {GroupField} = 'Others' then
    'ZZZZZZZZOthers'
else
    {GroupField}

Use that field in the grouping of the crosstab
Modify the group
On the second tab use the field itself for the column header.

mlmcc
0
 

Author Closing Comment

by:nobile00
ID: 31602933
Thanks that worked!
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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

919 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

12 Experts available now in Live!

Get 1:1 Help Now