cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
eka24 Community Champion
Community Champion

Re: Filter Choices from GAL?

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

View solution in original post

3 REPLIES 3
eka24 Community Champion
Community Champion

Re: Filter Choices from GAL?

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
Microsoft
Microsoft

Re: Filter Choices from GAL?

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.

eka24 Community Champion
Community Champion

Re: Filter Choices from GAL?

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

View solution in original post

Helpful resources

Announcements
secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,692)