Solved

Create a user defined Sort Order in Crystal Reports 11

Posted on 2008-06-10
4
545 Views
Last Modified: 2012-06-22
Hi

I am trying to create a sort order by financial week numbers (April - March) starting with 14 and ending with 13 e.g. 14, 15, 16 ... 52..1, 2, ...13. Can anyone suggest how to create a sort order by this sequence of numbers?

regards
DGI
0
Comment
Question by:dgi001
[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
  • 2
4 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 21753225
You could group by the week number then use a specified sort where you specify the order.

mlmcc
0
 
LVL 28

Accepted Solution

by:
bdreed35 earned 500 total points
ID: 21753495
I actually would recommend that you sort or group on the date of the week, if that is available, but display the week number on the report itself, instead of the date.  This would give you the correct order and the correct display.  I don't think specified order sorting would work in this scenario as every week you are going to start with a different week number as your first week.  It is also a pain to set up for 52 weeks.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 21754908
Maybe a bad assumption on my part.  I thought he had the week number available and this was basically a fiscal year type report that wouldn't change the start and end date.

Also I wasn't sure if the date was avaialble.  If it is then by all means use it since that will always sort correctly and is much easier to setup.

Another idea that just occurred to me is use a formula like this as the sort key.  Again show the rela field.

If ({FinancialWeek} <= 13) then
   {FinancialWeek} + 52
else
   {FinancialWeek}

mlmcc
0
 

Author Comment

by:dgi001
ID: 21768970
thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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 …
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

734 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