cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Stuznet
Helper I
Helper I

Cascade Combobox is not working

Hi,

I'm running into a problem where selecteditems returning blank in the Combobox.

First dropdown

1.JPG

Sort(Distinct('Flight Details', Airline),Result)

 

2nd dropdown

Capture.JPG

DefaultSelectedItems

Sort(Distinct(Filter(FlightDetailsCollection, 
    Airline in AirlineSearchDD.Selected.Result), 
    AirportCode)
,Result, Ascending)

 

3rd Dropdown

3.JPG

Distinct(
    Filter(
        AirportsCollection,
        Code in Codelookup.SelectedItems.Result
    ),
    StateName
)

 

the third combox returning blank. It should not be blank it should return 5 different values based on the second dropdown.

 

Can you please help me? 

 

Thanks

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @Stuznet ,

I assume you mean Items in the second dropdown (not DefaultSelectedItems). If I am guessing correctly here you are trying to filter a list field for all selections in a multi-select combo box? If so, you have a many-to-many relationship - please confirm this as the solution is not simple.

 

Hi @WarrenBelz ,

The second dropdown I do want is DefaultSelectedItems and not item. The 3rd dropdown will be a single selection only. 

Hi @Stuznet ,

The problem you have is that Items are often not "Selected" in the view of another control until the user selects them.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (913)