Solved

Crystal Reports CrossTab Sorting Columns

Posted on 2009-07-13
10
885 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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
 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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