lbass and others-
I did not post the details of the report, because I was not sure I could explain them as they get very convoluted, but I will try.
I am trying to count encounters under certain conditions in healthcare settings.
I have Grouped the data in the following manner:
Group 1- Service Category (Primary Care, Mental Health etc)
Group2 2- Healthcare Center Name
Group 3- Healthcare Center Program name
EncountersTarget=distinct Count of Encounter ID for the target month
Avg=Average number of encounters per month for the reporting period (usually one year.
LaggedProgram=YES when the number of encounters in the traget month for that program is less than 80% of the AVG
In the Report footer section, I have a counter for the total number of programs and the total number of programs that are laggeds.
I would like to have similar counters each time the service category changes, but I don't know how.
Jay