Solved

Sort a Chart by Month in crystal reports

Posted on 2009-05-08
9
1,768 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
  • 5
  • 4
9 Comments
 
LVL 100

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 100

Expert Comment

by:mlmcc
ID: 24338733
What version of Crystal?

You may have to use the ADVANCED option

mlmcc
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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 100

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 100

Accepted Solution

by:
mlmcc earned 500 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

14 Experts available now in Live!

Get 1:1 Help Now