Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Charts and Counts Post Reply Post New Topic
Author Message
remdev2
Newbie
Newbie


Joined: 04 Jan 2012
Online Status: Offline
Posts: 4
Quote remdev2 Replybullet Topic: Charts and Counts
    Posted: 04 Jan 2012 at 4:33am
All
I want to use a running total field to create a column in a chart but it looks like running total fields cannot be used in a chart via the Chart Expert.
 
Formula fields can be used to create a chart column. I've tried a number of different ways of using the COUNT function to return an integer but all attempts returned a syntax error. It would look something like this:
 
COUNT ({WHS_Survey.Has_survey_been_followed_up_on_}) = "Yes"
 
If you know of a way to use a running total field in a chart or how to fix my syntax I would be verrrry grateful.
 
Many thanks
Pete
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 04 Jan 2012 at 4:39am

try  converting to a number then you can use the SUM

if {WHS_Survey.Has_survey_been_followed_up_on_} = "Yes" then 1
 
IP IP Logged
remdev2
Newbie
Newbie


Joined: 04 Jan 2012
Online Status: Offline
Posts: 4
Quote remdev2 Replybullet Posted: 04 Jan 2012 at 5:02am
Beautiful!!
Thanks!!
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.016 seconds.