Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Cross Tab in crystal report 9 Post Reply Post New Topic
Author Message
cry_Deepu
Newbie
Newbie


Joined: 27 Jun 2011
Online Status: Offline
Posts: 12
Quote cry_Deepu Replybullet Topic: Cross Tab in crystal report 9
     Posted: 22 Nov 2011 at 4:44am

I am facing a problem while creating the cross tab in CR9,

i need to calculate received claims and shipped claims in hourly basis in a report.
 
for example
12/11/2011
Hour             clm received                                      clm shipped
12- 1             12   (receive date cnt within 12-1)   10 (shipped date cnt within 12-1)
1- 2                15                                                 13
how to obtain this in cross tab. 
 
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 22 Nov 2011 at 10:17am
you could try to
create a formula like
if {date.field}in date(12/11/2011 12:00:00) to  date(12/11/2011 13:00:00) then "12-1" else
if {date.field}in date(12/11/2011 13:00:00) to  date(12/11/2011 14:00:00)then "1-2"

then group on this formula put clm received.field and clm shipped.field(as running totals or summaries) on group header, suppress details and should work.


Edited by kostya1122 - 22 Nov 2011 at 12:03pm
IP IP Logged
cry_Deepu
Newbie
Newbie


Joined: 27 Jun 2011
Online Status: Offline
Posts: 12
Quote cry_Deepu Replybullet Posted: 24 Nov 2011 at 5:10am

Hi kostya1122,

Sorry for the late response.
 
if timeslot is made group on two dates then in which header i have to place the cross tab.
is this possible with the cross tab...
 
Thaks for your reply
cry_deepu
 
 
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 24 Nov 2011 at 6:48am
from the above example there should be only one group header.
but if you have another group that is used for days(group on days first hours second) then
you place the crosstab into the group(2) header
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