Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Restricting Data Post Reply Post New Topic
Author Message
Allany
Newbie
Newbie


Joined: 03 Aug 2009
Online Status: Offline
Posts: 12
Quote Allany Replybullet Topic: Restricting Data
    Posted: 03 Aug 2009 at 2:21am
Morning all,
 
Bit of a newbie in the CR design front.  Hope you can help or point me to some useful posts.
 
CR XI, I have a stored proc which returns 3 columns of data which can go into the thousands.
 
I would like to create a chart based on the stored proc but limited to say only the top 20 based on an ordering of one of the columns.  I would like to do this without alterting the stored proc because I would like to present all the data as well.
 
I have been able to present the data and the top 20 in the details section, so i can see what I would like to chart, but I guess doing a standard "create chart" will base it's source in the full data from the proc rather than what is seen on the details page(?).
 
Any ideas?  Is there a way I can "filter" the data out only for charting without again altering the stored proc?  The data from the stored proc is just returning out, and not being placed into a permanent table.
 
I could change the way to do this, i.e create sub reports and alter the stored proc to be called numerous times with "top" filtering, but I would like to expand my CR knowledge to see if it can be done in the report creator first.
 
Many thanks for any advice.
 
Regards.
IP IP Logged
Allany
Newbie
Newbie


Joined: 03 Aug 2009
Online Status: Offline
Posts: 12
Quote Allany Replybullet Posted: 03 Aug 2009 at 3:04am
Actually ignore that!  Figured it out using the summary option in the chart creation. 
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.