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


Joined: 23 Jul 2012
Online Status: Offline
Posts: 12
Quote Abhi Replybullet Topic: Cross Tab in Crystal Reports
    Posted: 23 Jul 2012 at 7:12am
Hi ,

I have to bulid a cross tab object in an existing crystal report. All I need to show in cross tab is the orders,status date, status , date difference in minutes. The Order can go thru different status(a,b,c,d) until status becomes Ready. I need to calculate Time difference in minutes from when the status changed from (a,b,c,d) to Ready. For Each time the status changed the time is captured into the field status date.   I have created the two running totals to capture the time when the status reached Ready and also the time when the status is in any of these values(a,b,c,d) and then created a formula to do the date diff to get the time in mins from these two running totals. But I need a cross tab where in I can display the data as below


                  status(a,b,c,d)      status(Ready)    delay
order 1       datetime             datetime               20mins
order 2       datetime             datetime               2mins
order 3       datetime             datetime               -5mins
order 4       datetime             datetime               40mins


Please Advise

Thanks!
Abhi
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 24 Jul 2012 at 3:16am
Since you have the formulas already worked out, I would not use a Cross-Tab object.  Instead I would group by order and, since you're using running totals, put this data in the group footer section.
 
-Dell
IP IP Logged
Abhi
Newbie
Newbie


Joined: 23 Jul 2012
Online Status: Offline
Posts: 12
Quote Abhi Replybullet Posted: 24 Jul 2012 at 5:26am
Hi Dell

Thanks for your reply .. If I want to implement the same logic with the same layout of the report can I accomplish this in cross tab

Thanks!
Abhi
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 24 Jul 2012 at 5:53am
It would be much more difficult to implement this in a cross-tab - especially the difference between the two times.
 
-Dell
IP IP Logged
Abhi
Newbie
Newbie


Joined: 23 Jul 2012
Online Status: Offline
Posts: 12
Quote Abhi Replybullet Posted: 24 Jul 2012 at 6:02am
Okay , Thanks Dell for your Time
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.