Hey! Powerapps noob here. I have been trying to work out how to filter a gallery by multiple entity filters.
The first entity in my CDS which is SKUs that contains all my items in the gallery to be filtered on.
Here is the code I am using to filter the gallery items based on a SKU drop down which works perfect:
Filter(SKUs, Colour = 'Colour dropdown'.Selected.Result)
The second entity in my CDS is "Brands" which has a field called "Brands family" which has a one-to-many relationship with the SKUs entity.
How can I adjust my gallery code to filter out the SKUs that match/don't match the dropdown for Brands Family?
Filter(SKUs, Colour = 'Colour dropdown'.Selected.Result &&
// filter SKUs by Brands, 'Brands Family' = 'Brands family dropdown'.Selected.Result
)
Thank you for any help it is much appreciated.