Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Grouping and Sorting - Help Desk environment Post Reply Post New Topic
Author Message
Subway2271
Newbie
Newbie


Joined: 06 Sep 2012
Online Status: Offline
Posts: 3
Quote Subway2271 Replybullet Topic: Grouping and Sorting - Help Desk environment
    Posted: 06 Sep 2012 at 4:36am
Hi I am new to crystal and I am using Crystal XI so I apologize for the ignorance.  I am self teaching!!  I work at Help Desk and I am tasked with creating a "Top Ten" report based on category usage.  Meaning, we need to run a report and see what the top ten most used categories tickets were logged under.  (Category would be something like "password reset", network printer, etc). 
I was able to get the report to pull everything that I need and it's sorted to pull the Top used categories but when checking my numbers, I realized a problem.  In our ticketing system some of our categories are listed in a "Parent/Child" format. 
Example:
Parent Category = PRINTER
Child Category = NETWORK, JAM, INK,etc.
 
So my question really is how do I get the report to group the children categories "under" the Parent category and give a sum of all of them.  Then have that total be the number that the report sorts on for the "Top Ten".  
 
Again I apologize for this long post, but I am very new to this with only self taught training!  Any help would be greatly appreciated.
 
IP IP Logged
Subway2271
Newbie
Newbie


Joined: 06 Sep 2012
Online Status: Offline
Posts: 3
Quote Subway2271 Replybullet Posted: 06 Sep 2012 at 4:44am
I should add that all of the categories are listed in the same table in the db
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 06 Sep 2012 at 6:46pm
Hi
 
I hope you have database fields for Parent Category and Child Category.
 
a. Create a group on Parent Category
b. Create one more group on Child Category
c.  Right click on the field which you want to get summary and go in Insert--Summary and select the group level to display the summary. (do it for Parent and Child groups)
d. Now go in Report--Group Sort -- and select Parent group summary and select Top N records.
 
 
 
Thanks,
Sastry
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.015 seconds.