cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

How to only display a record that has many choices

Hello,

 

I have a combo box displaying plan numbers and i want to only display the elevation associated with that plan. So when the user selects the plan the other combo box will only show the elvations choices. No sure if i need to use a filter or a lookup. pic 10.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: How to only display a record that has many choices

@patty789 

I updated my answer.  It seems we were both typing at the same time.

 

Filter('Plan and Elevation',Plan in ComboBox6.SelectedItems.Plan);

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: How to only display a record that has many choices

@patty789 

I would suggest using the FILTER function because it can return many values (i.e. elevations) as opposed to LOOKUP which can only return a single value.  Put this ocde in the Items property of your combobox.

 

Filter(your_datasource_name,Plan in ComboBox1.SelectedItems.Plan)


My solution assumes your 1st combobox is storing the plan in a column called "Plan".

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

 

Highlighted
Helper V
Helper V

Re: How to only display a record that has many choices

@mdevaney  i tried what you suggested however i am still getting an errorpic 11.JPG

 

pic13.JPG

 

Highlighted
Super User
Super User

Re: How to only display a record that has many choices

@patty789 

I updated my answer.  It seems we were both typing at the same time.

 

Filter('Plan and Elevation',Plan in ComboBox6.SelectedItems.Plan);

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,536)