Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: how to write formula? Post Reply Post New Topic
Author Message
sweet123
Newbie
Newbie


Joined: 01 Mar 2010
Online Status: Offline
Posts: 2
Quote sweet123 Replybullet Topic: how to write formula?
     Posted: 11 Mar 2010 at 12:02am
Hi all,
 
I have one query , in my table i have date column(11/11/2010) is there, in crosstab i have to display quarterly , so i set properties (quarterly) so it is displaying (1/2010,3/2010,5/2010)but now problem is i want to display (Q1/2010,Q3/2010,Q5/2010).
 
How to write formula , can u please tell me
 
Regards
Sweet.
IP IP Logged
razzak
Newbie
Newbie
Avatar

Joined: 03 Mar 2010
Location: India
Online Status: Offline
Posts: 34
Quote razzak Replybullet Posted: 11 Mar 2010 at 3:06am
can you explain in detail??
Razzak Sayyed
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 11 Mar 2010 at 7:16am
YOu can convert the date into that string using a formula and then use the formula as your grouping  in the crosstab
'Q' + totext(datepart('q',{table.DATE}))+ totext({table.DATE},'/yyyy')
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