If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > crystal reports count function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-17-10, 11:46
CipherHealth CipherHealth is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
crystal reports count function

Hi,

I am very new to crystal reports and I have what I think to be a very basic question that hopefully someone can answer. I need to get a count of a specific value "complete" within a group. I also need to get a count of another value within the same group "incomplete". I subsequently need to display the count of the two values as a numerator/denominator (complete/incomplete) in a separate group. Does anyone have any suggestions as to how I can accomplish this?
Reply With Quote
  #2 (permalink)  
Old 06-25-10, 08:52
fadedreamz fadedreamz is offline
Registered User
 
Join Date: Feb 2008
Posts: 21
Hello there,
I am not clear about your requirements, but as far as I can understands you need to select a column value based on another column value in that same row. like -
Code:
select name from users where sex='m'
to do this you can use formula like this
Code:
if {users.sex} = 'm' then
{users.name}
else
'-'
now drag the formula field to the details section to add the field to the report.

I hope you get the hang of it. Btw you need to add both the filtering and filtered column in the report using db expert.
Reply With Quote
Reply

Tags
crystal count in group

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On