cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smartin
Helper II
Helper II

Filtering out from the Gallery ( City = Blank )

Hi everyone

 

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? 

 

Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Super User
Super User

Hi @smartin,

Filter(Office365users.DirectReports(varSelectedUser).value, !isBlank(city))

 

Hope it helps !

View solution in original post

1 REPLY 1
gabibalaban
Super User
Super User

Hi @smartin,

Filter(Office365users.DirectReports(varSelectedUser).value, !isBlank(city))

 

Hope it helps !

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,308)