I have a table "PA Weekly Activities" with a Person field (no multiple selections) called Surveyor. I also have a collection colMembers with a Person field called TeamMember (no multiple selections). I'd like a Gallery filtered on the table field Surveyor being in the collection based on the field TeamMember.
The 2 fields are exactly the same apart from the names, I can view the collection and see the Email of TeamMember. So, I can output the TeamMember Email address but it's the reference to a property of TeamMember within a filter that seems to be the sticking point.
The basic filter is:
Filter(
'PA Weekly Activities',
XXXXXXXXXXXXXXXX
)
The following lines replacing XXXXXXXXXXXXXXXX don't work for reasons of comparing Text to Record, missing TeamMember etc.
Surveyor in colMembers.TeamMember
Surveyor.Email = colMembers.TeamMember.Email
Surveyor in colMembers[@TeamMember]
Surveyor.Email = colMembers[@TeamMember].Email
I've tried dozens of alternatives but ran out of ideas. Any help would be appreciated.