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

Encounters per client 2

Status
Not open for further replies.

dday01

Technical User
Feb 1, 2002
138
US
I am a total novice, I have a report and it has a grouping. I have two fields summarized in the group footer Distinct count of clientID and distinct count of EncounterID. I want to add another field that gives encounters per client for each group. I put the following formula field in the group footer: distinct count of encounterid / distinct count of clientid. The problem is that it just gives the encounters per client for the full report in each groups footer and not the encounters per client for each grouping. Any help would be greatly appreciated.

D
 
dday,

Try inserting another group for clientID. Then insert a distinct count for encounterID in the footer of this second group. It should give you the correct count per client
 
Your formula for the group 1 footer should be:

distinctcount({table.encounterID},{table.yourgroupfield})/
distinctcount({table.clientID},{table.yourgroupfield})

Substitute the correct field names.

-LB
 
Thank you both for your replies, saved me alot of time and frustration!

D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top