Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: How to sum filed in group expert Post Reply Post New Topic
Author Message
swallow.pa
Newbie
Newbie


Joined: 26 Apr 2012
Online Status: Offline
Posts: 26
Quote swallow.pa Replybullet Topic: How to sum filed in group expert
     Posted: 17 May 2012 at 6:03am
Hi all
i have a table in my report
That I Have this Result:
--------------------------------
ID1        ID2           AMOUT

1             10              20000
1              11             40000
2              21             50000
2              22             32500
----------------------------------
Now i want sum id1
1                                60000
2                                82500
-----------------------------------
how to this in my report
thanks
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 17 May 2012 at 6:29am
group by id1
add a sum({table.amount}, {table.id1})  //which is what would be added for you when you use the Sigma button to add an aggregate.
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