×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Chart Year over Year Comparison
2

Chart Year over Year Comparison

Chart Year over Year Comparison

(OP)
I have a Crystal Report which is essentially just charts.  Currently, the Y-axis is a count while the X-axis is a billing date.  The billing date is by month of the Fiscal Year.  The categories are two different locations, which are displayed in the key.

Instead of just having one fiscal year, I'd like to have the past two fiscal years and compare them by month.  It's kind of difficult to explain what I Mean, but, in essence, the line chart would have a line for 2008, and a line for 2009 and their data would be displayed by month (in the same range).

Is this doable?

RE: Chart Year over Year Comparison

Do a formula field with year/month, something like

CODE

Totext({your.date}, "yyyy/MM")
This should be graphable in the right order.

To get the fancy display you want would be harder.  You could do it by sticking to the month display having one year as a chart in a subreport.  If anyone knows of an easier way, please say.

This is based on Crystal 10.  It always helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever.  Methods sometimes change between versions, and higher versions have extra options.

 

yinyang Madawc Williams (East Anglia, UK).  Using Crystal 10 & 11.5 with Windows XP yinyang  

RE: Chart Year over Year Comparison

2
You need to create two formulas:

//{@month}:
month({table.date})

//{@year}:
year({table.date})

Add {@month} as your first "on change of" field, and {@year} as your second. Add the usual summary field.

You should be limiting to the two fiscal years in your record selection formula.

-LB

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close