I have a gallery that shows records from dataverse based on search fields. Most of the search fields is based on the main table, but one of the search fields is a dropdown control that lets user search for the location based on the child table field.
So it goes something like this:
Main table <-- [ childtable locationField(lookup) ] ---> Location Table
So the dropdown in the search, searches for the location. So in the Gallery I want to show records from the main table that has any of its child records with that location.