Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Formula to Tally Cases 1

Status
Not open for further replies.

CJP12711

MIS
Jul 23, 2001
116
US
Hello, I'm using CR10. I have a data set like the one below:

case 1
type Diagnostic

Case 2
type Diagnostic
type Interventional

Case 3
type Interventional

I want to ignore all cases that have a type of Diagnostic only, or cases that have a type of Interventional only. I want to count the cases that have both Diagnostic and Interventional as the type. Can anyone help me with this?

Thanks,
CJ
 
Insert a group on case ID and then insert running total that does a distinctcount of caseID, evaluate using a formula:

distinctcount({table.type},{table.caseID}) > 1

Reset never.

Place the running total in the report footer.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top