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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

counting against a denormalized data source impromptu

Status
Not open for further replies.

tsuable

Programmer
Joined
Feb 2, 2005
Messages
41
Location
US
Hi,

My data source looks like this

Patient ID Wound ID
1 1
1 2
1 3
2 1
2 2
2 3

I am doing this through impromptu.

The patient Count should be 2 and wound count should be 6

 
Use 'count distinct' for patientID and 'count' for Wound ID..

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top