Hello,
I have 2 SharePoint lists (List A and List B)

I need output in a gallery as

the code in gallery Items is Filter(ListA, Product.Value = "A"). Works perfect but the catch is List B has multiple Products
Note* - Product in ListA is of column Type Choice and that in ListB is Text column. Hence need help.
regards