Solved

Sort a Chart by Month in crystal reports

Posted on 2009-05-08
9
1,735 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
 

Author Comment

by:mco32
ID: 24338963
Think it is 8.0.1.0
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Send secure, cloud-based, encrypted alerts and maintain HIPAA compliant messaging. Integrates priority & secure messaging into one application. Ensures IT, emergency respondents and healthcare professionals that their critical messages are never mis…

911 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

21 Experts available now in Live!

Get 1:1 Help Now