cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft tigonsal
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
Level 10

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
Level 10

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 tigonsal
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
Level 10

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (6,805)