Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Percentage formula Post Reply Post New Topic
<< Prev Page  of 2
Author Message
ianwells
Newbie
Newbie


Joined: 23 Aug 2010
Online Status: Offline
Posts: 11
Quote ianwells Replybullet Posted: 06 Sep 2010 at 11:10pm
Group footer 3# HSW.FormDate -A

        CountofFormDate1:Count of HSW.FormDate
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Sep 2010 at 4:35am
I will assume this a date field and it is set to group at a weekly interval so try:
 
if SUM({@weeks})=0 then 0 else COUNT({HSW.FormDate},{HSW.FormDate},"weekly")%SUM({@weeks})
IP IP Logged
ianwells
Newbie
Newbie


Joined: 23 Aug 2010
Online Status: Offline
Posts: 11
Quote ianwells Replybullet Posted: 16 Sep 2010 at 12:20pm
Sorry its been a while....

i get an error...

"There must be a group that matches this field"

COUNT({HSW.FormDate},{HSW.FormDate},"weekly")  
this section above is highlighted


Edited by ianwells - 16 Sep 2010 at 12:22pm
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 Sep 2010 at 3:49am
create a group using FormDate and set it to weekly
IP IP Logged
<< Prev Page  of 2
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.