Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Tips and Tricks
Message Icon Topic: Totals Post Reply Post New Topic
Author Message
kevmoc
Newbie
Newbie
Avatar

Joined: 20 Feb 2014
Online Status: Offline
Posts: 5
Quote kevmoc Replybullet Topic: Totals
    Posted: 20 Feb 2014 at 6:23am

I’m new to this, hopefully I makes sense.

 

I have a report with 2 tables: INC. and T.

 

The INC table is trade level data.  The T table is loan level data.

 

My goal is to subtract the total in loan amounts from the total in trade amounts.  (Sounds easy)

 

When I drop in the trades (from the INC table) and total them, it works perfect. 

Example: 3 trades at $1 million each.  Total is $3 million.

However once I drop in the loans (from the T table), the trade amounts  shows $1 million for each individual loan (not correct).  So if there are 2 loans in each trade, the trades are now totaling $6 million.  It should still be $3m.

 

Please help?

 

 

Kev
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 20 Feb 2014 at 6:40am

you likely have a unique identifier per row in each table.

You can use Running Totals with sum the values but in the evaluate option have it evaluate on change of field and select the primary key for in each table as the field. 



Edited by DBlank - 20 Feb 2014 at 7:57am
IP IP Logged
kevmoc
Newbie
Newbie
Avatar

Joined: 20 Feb 2014
Online Status: Offline
Posts: 5
Quote kevmoc Replybullet Posted: 20 Feb 2014 at 7:03am
Ok, that seems to work. 
Thanks for your help.
 
I'm sure I'll be back for more help soon.
Kev
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.