cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

Filter Choices from GAL?

So I'm trying to filter a combobox to display a list of people that fit a specific filter (in this instance, people whose "department" = a specific text string).

 

The combobox's "Items" property currently has:

 

Choices([@Coaching_1].OData__x0061_hf6)

 

 which looks like it pulls a list of people from the company's global address list.

 

How do I edit the Items property to only display people from a specific department rather than the whole company? I've done some searching and used various methods of using the Filter property to try and narrow down the combobox, but nothing appears to be working.

 

An example of one use of filter I've tried that I think is close but yields no results is

 

Filter(
     Choices([@Coaching_1].OData__x0061_hf6),
     Department = "Home Office")

 

 

There's probably something I'm missing... right?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Try this
Filter([@Coaching_1], Department = "Home Office")
Or
Filter(Coaching_1, Department = "Home Office")

View solution in original post

3 REPLIES 3
Super User III
Super User III

Kindly follow this post which deals with it

https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-filter-choices-on-Combobox/td-p/10143...


If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution

Thanks for the suggestion. I did read that post up and down multiple times and attempted to apply what I could understand from it to my formula with no success. At some point I did get it to at least not display formula errors, but when trying to use the combobox and type in names, the combobox yields no results at all.

Super User III
Super User III

Try this
Filter([@Coaching_1], Department = "Home Office")
Or
Filter(Coaching_1, Department = "Home Office")

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,237)