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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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