Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Count Option Post Reply Post New Topic
Author Message
maestromani
Newbie
Newbie


Joined: 11 Feb 2011
Location: India
Online Status: Offline
Posts: 5
Quote maestromani Replybullet Topic: Count Option
     Posted: 11 Feb 2011 at 8:07am
Hi There,

 I'm new to CR. I'm summarising on salesperson, in db for some rows we don't have salesperson name. When i create chart on their sales for each person it shows the correct count and for no salesperson it says 0 where we have 20 rows. how do i get this to work.


BRs
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 11 Feb 2011 at 8:39am

likley this is  a NULL value instead of an empty string

try replacing the NULL in a formula and then using the formula for your grouping or charting
if isnull(namefield) then 'No salesperson' else namefield


Edited by DBlank - 11 Feb 2011 at 8:39am
IP IP Logged
maestromani
Newbie
Newbie


Joined: 11 Feb 2011
Location: India
Online Status: Offline
Posts: 5
Quote maestromani Replybullet Posted: 11 Feb 2011 at 8:51am
Thanks a lot for the information. Since i'm new there can be some dump question to you. Sorry for that. how do i make my chart to point to this. Since that is riding on salesperson column, it is giving me 0 for that.
BRs
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 11 Feb 2011 at 8:56am
i assume you are using a bar chart
in the chart expert go to the Data Tab and change the 'On Change of' to use the formula field
IP IP Logged
maestromani
Newbie
Newbie


Joined: 11 Feb 2011
Location: India
Online Status: Offline
Posts: 5
Quote maestromani Replybullet Posted: 11 Feb 2011 at 8:59am

You are my MAN! It works thanks.

BRs
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