Hi I want to filter a nested gallery (lets call it "Sub_Gallery" by the variable "SelCode".
I have a Gallery of items "DivRecords" as below:

That has a nested record called "SubDivs"

That I want to filter these "SubDivs" if they match the table called "SelCode" as below

What I have at the moment is the following within the "Sub_Gallery":
Filter(ThisItem.Subdivs, Title in SelCode.Result)
But it is not filtering at all. I also tried
Filter(ThisItem.Subdivs, Title in SelCode).Result
But it is not working either.
Any help would be appreciated!