How to set report criteria to show records that have a field value that is in a list

How to set report criteria to show records that have a field value that is in a list

In this past post:
https://help.zoho.com/portal/en/community/topic/how-can-i-control-the-display-permission-of-report-with-deluge-script-zoho-creator

An example was given for report criteria where-in only records with the department field matching the single department the user was associated with in the user form:
Department.ID == User[Email == zoho.loginuser.id].Department 

but that only works if User[Email == zoho.loginuser.id].Department only returns one single department ID, but what if this User is associated with multiple departments? There doesn't seem to be an "in" operator available in report criteria, as in:
Department.ID in User[Email == zoho.loginuser.id].Department 

Is there any way to match Department.ID as long as it is one of the multiple departments in User.Department matching that user? Or is this functionality missing? Seems like a large oversight if it's missing.