Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Calculating totals by Quarter non-standard Quarter Post Reply Post New Topic
Author Message
Jon K
Newbie
Newbie
Avatar

Joined: 12 Aug 2009
Location: United States
Online Status: Offline
Posts: 8
Quote Jon K Replybullet Topic: Calculating totals by Quarter non-standard Quarter
    Posted: 23 Oct 2013 at 2:54am
Hi all - I want to total a number based on what quarter it was booked. The problem is, my company uses the following for fiscal quarters:

4Q13 – 12/31/13
1Q14 – 3/28/14
2Q14 – 6/27/14
3Q14 – 9/26/14
4Q14 – 12/31/14

How can I split the quarter such that 9/27 is 3Q 2013 but 9/28 is 4Q 2013.

Thanks all
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 23 Oct 2013 at 7:40am
create a formula like
if date.field = date(12/31/13) then "4Q13" else
if date.field = date(3/28/14) then    "1Q14" else
....
then use it as a group
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.000 seconds.