I'm using Crystal 10.
I need to generate a report that gives the average number of patients seen per day per clinic. I have a {distinctcount of (patID)} calculated for each apptDT (if a patient has multiple appointments on the same day he is counted once whereas, if he comes in on different days he has to be counted on each day). This appears in the apptDt group footer I have also created a {distinctcount of (apptDT)} to get the total number of days. This appears in the clinic group footer. How do I sum the {distinctcount of (patID)} so that I can calculate the average?
An example of what I have so far (just a partial view - last 3 days of the month):
TIA!
~RLG
I need to generate a report that gives the average number of patients seen per day per clinic. I have a {distinctcount of (patID)} calculated for each apptDT (if a patient has multiple appointments on the same day he is counted once whereas, if he comes in on different days he has to be counted on each day). This appears in the apptDt group footer I have also created a {distinctcount of (apptDT)} to get the total number of days. This appears in the clinic group footer. How do I sum the {distinctcount of (patID)} so that I can calculate the average?
An example of what I have so far (just a partial view - last 3 days of the month):
Code:
(gf2-apptDt) 01/28/12 14 <-- this is distinctcount of (patID)
(gf2-apptDt) 01/29/12 121
(gf2-apptDt) 01/30/12 52
(gf1-clinic) 30 <-- this is distinctcount of (apptDT)
TIA!
~RLG