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

@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 III
Super User III

@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

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

 

pic13.JPG

 

Highlighted

@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

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (13,330)