Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sort a Chart by Month in crystal reports

Posted on 2009-05-08
9
Medium Priority
?
2,023 Views
Last Modified: 2012-05-06
Hi There,

I am totally new with crystal reports.  I am trying to create a chart that sorts by Month Jan, Feb, Mar etc.

I have managed to create a formula to change my date field to month but when I run the chart the months show in alphabetical order (i.e. April, Feb, Mar)

I have searched and do not understand any previous posts.

Can someone please help me.

Thanks,
0
Comment
Question by:mco32
[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
  • 5
  • 4
9 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 24337633
You don't need to change the field to the month

Create the chart with the data
When you add the date field
Click the OPTIONS button
Change it to group by month

mlmcc
0
 

Author Comment

by:mco32
ID: 24338240
Hi mlmcc

Sorry, total new to this.

Where do I find the options button.

This is my chart options.

When I change the field to date it just outputs dates on the report


chart.jpg
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24338733
What version of Crystal?

You may have to use the ADVANCED option

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

 

Author Comment

by:mco32
ID: 24338963
Think it is 8.0.1.0
0
 

Author Comment

by:mco32
ID: 24338972
Advanced tab is disabled also
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24340260
What formula is used for the month?

If you choose the datefield does the ORDER button become available?
If so click it and see if you have Original order as an option or Specified order

Specified order allows you to put the values in the order you want to use.

mlmcc
0
 

Author Comment

by:mco32
ID: 24340487
This is my month formula: MonthName(Month (CDate({Leads.lead_DateOfSubmission})))

Tried the order by box - only shows months were data is available - would I have to go in here every new month to sort the month order?  
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 24341405
In CR XI when I click the ORDER button for a date I have the option to group by a time period
It is a drop down with
This Section Will Be Printed

Try changing the chart to use the date field rather than the formula and see if you have that option.

mlmcc
0
 

Author Comment

by:mco32
ID: 24342817
Thank you so much.

My date was stored as a string, so I coverted to a date field and the options then showed up.

Your  a life saver - Thank you
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

715 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