I have 2 SharePoint lists spLOCNames and spVACBookings. (Note: not the real list or column names, I changed them for brevity)
spLOCNames contains columns LOC_NAME a text field and LOC_OWNER a person. LOC_NAMES are "MEXICO", "CANADA", "USA", "VIETNAM", "THAILAND", etc...
spVACBookings contains columns LOC_NAME a text field, GUEST_NAME a text field, SPECIAL_TITLE a text field. The records in the list will have multiple records with the same LOC_NAME. So, if I'm the LOC_OWNER for 2 different locations, "MEXICO" and "VIETNAM" and I want to see all records in the spVACBookings list where LOC_NAME contains either "MEXICO" or "VIETNAM"
I created a collection:
Collect(colLOCNAMES, Filter(spLocationNames, User().Email='LOC_OWNER'.Email));
In my case the collection, colLOCNAMES has 2 records in it, "MEXICO" and "VIETNAM"
When I filter on items for my gallery:
Filter('spVACBookings', LOC_NAME in colLOCNAMES.'LOC_NAME', LOC_NAME)
After I click the "Run on start" and open my app, I only get records where LOC_NAME is "MEXICO" - it does return 158 results for "Mexico" which is the correct number
It seems that it is only assessing the first item it sees, which is "MEXICO"
Any recommendations?