Hi,people.
I try to group data for my report but I cannot understand why one of group doesn't work.
I have to show in my report the doctors which have more than 2 patients and each patient has to do payment equal or greater than $100.00(in Details I have to show all information for each patient).
I create 2 groups:first-doctors,second-patient and I wrote these formulas for groups:
sum({field.payment},@patient)> 100 and
distinctcount({field.patientname},@doctors)>2
I cannot understand but "distinctcount({field.patientname},@doctors)>2" doesn't work.
I'll appreciate any answer.
Thanks,
Lana
I try to group data for my report but I cannot understand why one of group doesn't work.
I have to show in my report the doctors which have more than 2 patients and each patient has to do payment equal or greater than $100.00(in Details I have to show all information for each patient).
I create 2 groups:first-doctors,second-patient and I wrote these formulas for groups:
sum({field.payment},@patient)> 100 and
distinctcount({field.patientname},@doctors)>2
I cannot understand but "distinctcount({field.patientname},@doctors)>2" doesn't work.
I'll appreciate any answer.
Thanks,
Lana