I want a gallery that displays items that have been saved by a user, saved to SP list 'Pinned Applications'. If a user doesn't have any saved items then all the items from SP list 'Application Master List' should be displayed, but my formula isn't working correctly:
Gallery Items
If(CurrentO365User.Id in 'Pinned Applications'.UserID, Filter('Pinned Applications', UserID = CurrentO365User.Id), 'Application Master List')The gallery is showing all the applications on the 'Application Master List' and not just the ones that are on the Pinned Application list.
Variables: CurrentO365User = Office365Users.MyProfile()
UserID is the primary key