I wondered if anyone can help me with the following query.
I have 2 SharePoint lists:
- BoatsAndPackages

- ProductionSchedule

In my PowerApp I bring these lists into the App as a Collection/Local lists during the OnStart:
ClearCollect(
BoatsAndPackagesLocal,
BoatsAndPackages
);
ClearCollect(
ProductionScheduleLocal,
ProductionSchedule
);
I also create a collection to filter the ProductionScheduleLocal to only show Boats that are available for ordering and only boats that are assigned to the logged in user.
ClearCollect(ColFilteredToDealerAndAvailable,Filter(ProductionScheduleLocal,AvailableforOrdering.Value="Available", AssignedDealerEmail.DisplayName=Office365Users.MyProfile().DisplayName))
I then want to display in a gallery the Boats and Packages that match the items from the filtered ProductionScheduleLocal (the ColFilteredToDealerAndAvailable collection).
I can only get this to work when I use ModelCode_ProdSch which is a Single line of Text field.

However I need this to work with the a lookup field for the Boat model (called “Model_x003a__x0020_Model_x0020_C). But it errors when I use this field:

I tried reducing the formula to just the Filter and it still doesn’t work. I’ve tried it with .Value & .Id but can’t get it to work. It works fine if I only need to filter in the one list, but errors when I try to get it to filter based on a list of values from a separate (related) list.

Or

But not

Or

I have tried a few different ways to get this to work but have not yet been successful. Does anyone have any ideas?
Thanking you in advance for your help,
Annamarieke