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

Add total for groups

Status
Not open for further replies.

gk17

Technical User
Sep 6, 2013
86
0
0
US
Hi, I have a report with 4 groups:

Physician
Facility
Exam
Billing Code

The columns for this report are broken down into "patient types" like Outpatient or Inpatient. In my original report, I did not have the Billing Code group (was added in recently) and I just used a formula to filter out the patient type (ex: PtType = "O" then 1 and used the summary function with that formula to add it all up). The problem with the Billing Code is that there can be multiple codes for an exam. I don't want to count the patient type multiple times. For example, I might have ExamA with a total count of 4 but has 10 billing codes. I want to count the 4 but not the 10 in my total.

Any suggestions are greatly appreciated.

Thanks.
 
If there is not a unique identifier for the exam, then you can create one with a formula like:
{ExamType}&' '&{ClientID}&' '&{ExamDate}

Then do a DistinctCount of that formula or the unique identifier.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top