Hello all,
My database tracks therapy sessions with clients. I am trying to generate summary statistics for each month.
The important fields here in my table of sessions are:
SessionType (Assessment or Therapy)
Attendance (Attended; CancelledByClient; CancelledByMe; DidNotAttend)
The stats I need are counts of attendance codes for each of these:
Assessment
First therapy
Ongoing therapy
For most of these, I am using summed IIF expressions like:
But how can I count _first_ therapy cases? I need something which checks if there are any other SessionType=Therapy for that client, and if not, it counts as 1.
I would like to avoid creating a new SessionType,
Thanks for your time,
nf
My database tracks therapy sessions with clients. I am trying to generate summary statistics for each month.
The important fields here in my table of sessions are:
SessionType (Assessment or Therapy)
Attendance (Attended; CancelledByClient; CancelledByMe; DidNotAttend)
The stats I need are counts of attendance codes for each of these:
Assessment
First therapy
Ongoing therapy
For most of these, I am using summed IIF expressions like:
Code:
AssmtATT: IIf([Sessions]![SessionType]="Assessment",IIf([Sessions]![Attendance]="Attended",1,0),0)
I would like to avoid creating a new SessionType,
Thanks for your time,
nf