Using Count IF in Report Field

jereece

Registered User.
Local time
Today, 00:47
Joined
Dec 11, 2001
Messages
300
I have a table that includes the following fields

CAUSE_TYPE
STATUS

In a report, I want to count the CAUSE_TYPE if the STATUS is "In Progress". So for example, I want a report that has fields to show

Number of "Root Causes" in progress
Number of "Apparent Causes" in progress
Number of "Common Causes" in progrsss

Can someone help me figure out how to do this?

Thanks,
Jim
 
I would do the work in the query on which the Report is built

Groupby CAUSE_TYPE Where STATUS is "in progress" and Count your unique key field

Brian
 
Can you give me a few more specifics of how to do this?

Thanks,
Jim
 
OK, i'd do it this way:

"Count IIf ([status]="In Progress"," ")"
 
Mikk said:
OK, i'd do it this way:

"Count IIf ([status]="In Progress"," ")"

Thanks. Just to make sure, this can't be done in a form field...right? It has to be done in a query.

Thanks again,
Jim
 
I get an error message that says "The In operator you entered requires a parentheses".

Your help is appreciated.

Thanks,
Jim
 

Users who are viewing this thread

Back
Top Bottom