Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Cross Tab Report Post Reply Post New Topic
Author Message
HEMREDDY
Newbie
Newbie


Joined: 31 Jul 2013
Online Status: Offline
Posts: 38
Quote HEMREDDY Replybullet Topic: Cross Tab Report
     Posted: 12 Feb 2014 at 1:57am
Hi,
 
I have the folloiwng data on a cross tab report.
 
Name    2/13        3/13      4/13    5/13        Total
 
XYZ       512.00     100.00            -612.00      0.00
 
abc        715.00      150.00                         865.00
 
dfu         600.00     -750.00                       -150.00
 
tnt                                      150.00             150.00
 
Totals     1827.00    -500.00 150.00 -612.00 865.00                             
 
I want to eliminate rows with negative values and 0 values form the report. In the above case i want to display only the second and 4 row values and the totals of the columns should also display the  totals of figures for rows 2 and 4. Can anyone suggest a solution for this.
 
Reddy 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 12 Feb 2014 at 5:11am
I am not that familiar with cross tabs...

so my solution would be to create a stored proc and figure out which records to eliminate from there, so that your data never has the 'bad' records and CR can just do the cross tabs.

IP IP Logged
HEMREDDY
Newbie
Newbie


Joined: 31 Jul 2013
Online Status: Offline
Posts: 38
Quote HEMREDDY Replybullet Posted: 12 Feb 2014 at 7:44am
Hi,
 
I figured out how to do this in Cross tab. Created formulas and group by invoice number and sum by invoice and filtered all the items with sum totals less than 0 and the used that for summarization.
 
Thanks
 
Reddy
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