cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Filter Combobox values based on passed lookup value

Hello,


I have a combo box that is populated with a list of job numbers from another table.  When I setup the lookup for those values I pass a job status (Open or closed).  I'm trying to filter the combo box to only show choices where status = "Open"

 

Filter(Choices('Project table'.'Project:Name'), 'Project:Status Pass' = "Open")

 

I'm getting an invalid arguments error on the Status Pass = "Open"

 

I've tried putting "1" or 1 in to see if it was passing the ID.

 

Pretty sure I'm one step away from the answer but I can't seem to see that step.


Thank you,

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Filter Combobox values based on passed lookup value

Try for the Items property of the ComboBox:

 

Filter("ProjectTable", "ProjectStatus"="Open")."ProjectName"

 

Please substitute your proper table names and column names in the above formula.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Filter Combobox values based on passed lookup value

Try for the Items property of the ComboBox:

 

Filter("ProjectTable", "ProjectStatus"="Open")."ProjectName"

 

Please substitute your proper table names and column names in the above formula.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Anonymous
Not applicable

Re: Filter Combobox values based on passed lookup value

You're a wizard, only had to tweak it to Status.Value = "Open"

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

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.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

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 (4,510)