I have a gallery in my powerapp that I'm hoping someone can help me with.
I'm using the gallery the display direct reports in my org.
The code that I have for Items on the gallery is Office365Users.DirectReports(VarSelecteduser).
VarseletedUser just being a variable for the person in context to see their director reports. Some of the direct reports don't have any data for the City office365 connector so I'm trying to have them not displayed in my gallery, and only show those who have data in the City connector.
Has anyone be able to make this work? What would I add to the code in Items to remove anyone with nothing for City?