Solved

Crystal Reports CrossTab Sorting Columns

Posted on 2009-07-13
10
869 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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.

757 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

20 Experts available now in Live!

Get 1:1 Help Now