Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Cross Tab Question Post Reply Post New Topic
Author Message
takashiori
Newbie
Newbie


Joined: 10 Feb 2012
Online Status: Offline
Posts: 1
Quote takashiori Replybullet Topic: Cross Tab Question
    Posted: 10 Feb 2012 at 10:17am
Hi All,
 
Below is my cross tab in Report Footer Section,
 
                     Certification     # of Emp. Certified      # of Emp. Not Certified
Location A          Cert A                      10                             
                        Cert B                       8                              
Location B          Cert A                       5                              
                        Cert B                       4                               
 
Location A has 15 employees in total
Location B has 20 employees in total
 
How can I get the correct number of employees not certified? For example, there are 10 employees certified for Certification A in location A, and 5 are not.
 
I inserted a forumla ToText(DistinctCount(employee id, location) - CurrentFieldValue, 0) in the Display String. The number came out to be 10, not 5.
 
Thank you,
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 10 Feb 2012 at 11:03am
i don't think you can make it work in cross tab
i assume that
# of Emp. Not Certified have null for  Certification 
so the cross tab would show
     Certification     # of Emp. Certified      # of Emp. Not Certified
Location A          Cert A                      10                             
                        Cert B                       8 
                           null                                                 
5
Location B          Cert A                       5                              
                        Cert B                       4                               
 
try doing this with groups
group on
Location
Certification
....
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.016 seconds.