@mmattar
Wait... did you want to show Table2 in the gallery? My bad.
Put this code in the Items property of your gallery.
Filter(
AddColumns(
SQL_Table_2,
"myStatus",
LookUp(SQL_Table_1, PrimaryKeyColumn = ThisItem.ForeignKeyColumn, Status)
),
myStatus="DENIED"
)
Another idea is: you could make a SQL view to accomplish this and load it into the gallery instead.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."