Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Sort by Sum of Group Post Reply Post New Topic
Author Message
ode2eba
Newbie
Newbie
Avatar

Joined: 25 Jan 2007
Location: Malaysia
Online Status: Offline
Posts: 3
Quote ode2eba Replybullet Topic: Sort by Sum of Group
    Posted: 20 May 2007 at 11:36pm
Hi all,
 
Let's take these data for example (grouped by Category)
 
Category                         Sales ($)
 
Category 1
    Item AAA                           100
    Item BBB                             50
    Item CCC                            30
Subtotal                                180
 
Category 2
    Item DDD                          200
    Item EEE                           100
    Item FFF                             50
Subtotal                                350
 
Is there any way that I can sort data based on Category subtotal, showing most sales on top (i.e Category 2 on top followed by Category 1)
 
Need help, thank you in advance
IP IP Logged
GuestX
Newbie
Newbie


Joined: 17 May 2007
Online Status: Offline
Posts: 12
Quote GuestX Replybullet Posted: 22 May 2007 at 5:48pm
Make new sql command that will SUM sales on each Category then use that data as group. no?
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.031 seconds.