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
Highlighted
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
Highlighted
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
Highlighted
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.

Highlighted
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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