I'm having an issue specifying the correct criteria to filter my query. The criteria is based on two fields:
[Field-A] = SubjectID
[Field-B] = PhaseName
Subjects advance through Phases in the following order:
"Screening">"Post-Implant">"Optimization">"Randomized Testing">"Follow-up"
I'm trying to only include data in the query of subjects who have at least reached the "Optimization" phase. However, if they have data from later phases I want to include that too. Attached is an example of what this query currently looks like, and boxed in red are the only parts I would like to maintain. I greatly appreciate any help with this problem.
![]()