Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting a Crostab - by grand total?

Status
Not open for further replies.

jstasz

Technical User
Jan 16, 2002
7
US

I am creating a crosstab summarizing the total tonnes rejected, by reject code. There are a couple of other columns in the crosstab, for exposed and unexposed etc.

The report needs to be sorted in descending order by the grand total column. (total tonnes per reject code)

I cannot find a way to sort so I am leaning toward creating a manual crosstab. Is this my best option?
 
Select the CrossTab (click top left corner).

Use Report, TopN/Sort Group Expert to sort the CrossTab
(not very intuitive, I know).

You must use a TopN so simply select N large enough that your CrossTab will never exceed it.

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Or you could do you summing in a SQL statement or Stored Procedure and sort it prior to entering CRYSTAL.

Wallie12
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top