Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Rolling 12 Month Chart Post Reply Post New Topic
Author Message
dpanders
Newbie
Newbie


Joined: 28 Apr 2011
Online Status: Offline
Posts: 8
Quote dpanders Replybullet Topic: Rolling 12 Month Chart
     Posted: 25 May 2011 at 8:42am

I need to create a rolling 12-month chart that shows the distinct counts for the previous specific 12 months (i.e. not a cumulative amount from month to month, but a distinct count for each of the previous 12 months).

I am looking at denial dates (event) for each month going back 12 months. I want to chart both the sume of denied cases as well as the sum of denied amounts (one can be a bar and the other can be a line superimposed). I have checked a lot of sites online and have come away more confused than enlightened.

Thanks, in advance!

Darren P. Anderson, MSN, RN

Manager, Utilization Management
Vidant Medical Center
2100 Stantonsburg Road
Greenville, NC 27834

Phone (252) 847-2402
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 31 May 2011 at 3:55am
you need to make your select statement pull the rolling 12 months. this depends on if it is from today or last 12 full months but basically it would be something like:
table.date >= dateadd('yyyy',-1,currentdate)
 
I do not think crystal (XI) allows for a graph line on over layed on a bar chart (or anything similar).
you can do side by side bar charts of the two items.
group on the denied date field and set the group to monthly
for show values do a count of the primary key field  and the a sum of the amount field
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum