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

@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
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."

 

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

 

pic13.JPG

 

@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
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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