Solved

Sort a Chart by Month in crystal reports

Posted on 2009-05-08
9
1,951 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
[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

 

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 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

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

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 this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

635 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