on 09-11-2015 11:18 PM
I have a report that looks like this
patient name Program name Date of service
Primary Care (group 1)
Dr. John Smith (group 2)
Jane Doe (group 3)
Jane Doe primary care 1/1/15
Jane Doe primary care 1/2/15
Jane Doe primary care 1/2/15
Jack Black
Jack Black primary care 1/2/15
Jack Black primary care 1/17/15
I want a way to select records in patient group (group 3) where the patient had more than one service in a day. So in my limited example the only records I want to show are
Primary Care (group 1)
Dr.. John Smith (group 2)
Jane Doe (group 3)
Jane Doe primary care 1/2/15
Jane Doe primary care 1/2/15
I have been able to use a running total to calculate the number of distinct dates per group, but I need a way to select repeat dates per group. Thanks for the help.
Hi Nate,
You can create a group Group 4 on the Date field.
Add the below code to Select Expert... -> Group:
Count ( {database field used for the name}, {Group 4 field}) > 1
- Nrupal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.