Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Line Chart - Crystal report Post Reply Post New Topic
Author Message
venky_115
Groupie
Groupie
Avatar

Joined: 15 Jun 2010
Location: United States
Online Status: Offline
Posts: 67
Quote venky_115 Replybullet Topic: Line Chart - Crystal report
    Posted: 15 Jun 2010 at 9:57pm
Hi,
 
I am using a line chart in crystal report XI version, Grouping by status,
Active and Pending, so two lines One is Active and One is Pending, X-Axis is Months,
But I want one more line showing the sum of both active and pending for the perticular month.
 
Please give me a solution it is urjent.
 
Thanks
Venkat
 
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 17 Jun 2010 at 2:20am
Hi
Please post some sample data to play around with....
cheers
Rahul
IP IP Logged
venky_115
Groupie
Groupie
Avatar

Joined: 15 Jun 2010
Location: United States
Online Status: Offline
Posts: 67
Quote venky_115 Replybullet Posted: 17 Jun 2010 at 10:35pm

Hi,

 
For example:
 
Table:
           Position      Year    status    Month_name
                1           2010  Pending      jan
                2           2010  Active         jan
                3           2010  Pending      feb
                4           2010  Pending      mar
                5           2010  Active          apr
 
with a cross tab:
_______________  rows: year and status,
                                Column : Month_name
                                 Summary : Count
 
 
year      status      month_name
------------------------------------------------------------------
                              Jan    feb  mar apr may jun
2010     pending    5        6     5     4    10    12
             Active       4        6     4     6     12    12
         
 
 
with above data if we build a line chart x axis will be the months and two lines will appear, apart from these two i want one more line with summing up of active+pending.
 
Please let me know if  any queries.
 
hope i will get a solution for this
 
thanks
venkat


Edited by venky_115 - 17 Jun 2010 at 10:45pm
Regards
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 18 Jun 2010 at 11:04pm
Hi
 
Hope this workaround works for you, I am not able to create another series for total of pending and active in the same chart, but able to create a separate chart  for Month which creates the total of Active + Pending and places besides the chart which shows numbers of active and pending for the specified month.
 
Steps:-
 
*Create Group MontName,Status, Insert Summary for Number of Status in MonthGroup footer which will give you sum of Active+Pending.
 
*Then Create the new chart based on the Group and Place it next to the chart based on Cross Tab.
 
*Suppress the sections which you don't want to be shown in the report.
 
Hope some one here has a better solution......
 
Cheers
Rahul
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 18 Jun 2010 at 11:13pm
Hi,
 
One more workaround could be to create Stacked Bar Chart usign the Group details for the chart.
 
*So the Entire Bar will be the total for Active+Pending
*And the division will be for Active and Pending
 
Cheers
Rahul
IP IP Logged
venky_115
Groupie
Groupie
Avatar

Joined: 15 Jun 2010
Location: United States
Online Status: Offline
Posts: 67
Quote venky_115 Replybullet Posted: 20 Jun 2010 at 6:37pm
it is not fulfilled my requirement but some how i managed.
 
Thanks for your

Suggestion rahul

Regards
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 21 Jun 2010 at 1:14am
Hi
 
Please can you share with the group how did you manage to resolve the issue, so if anyone has the same issue will be helpful
 
Cheers
Rahul
IP IP Logged
venky_115
Groupie
Groupie
Avatar

Joined: 15 Jun 2010
Location: United States
Online Status: Offline
Posts: 67
Quote venky_115 Replybullet Posted: 22 Jun 2010 at 12:37am

Hi,

I have used stacked bar chart in that options tab i have selected show obsolute values and show totals, then my problem is solved, now i can show active , pending & total also,

Thanks

Regards
Venkat
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.016 seconds.