web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combo Box Cascade With...
Power Apps
Answered

Combo Box Cascade With Multiple Select

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone, 

 

I am trying to cascade combo box with multiple selected options. One has country and second has city. 

 

For example, for countries I choose USA & Australia, then second combo box should show cities like Chicago, New York, Sydney, Melbourne 

 

Right now for the items property of 2nd combo box  I have - "Distinct(Filter('Data List', Country = DataCardValue7.Selected.Result),City)" 

 

This is only showing the results based on the country that was last selected and not both the countries. 

 

Urgent help would be appreciated. 

 

Thanks,

Shreyans 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    Hi @Anonymous ,

    Try this, but note that is not Delegable

    Distinct(
     Filter(
     'Data List', 
     Country in DataCardValue7.SelectedItems
     ),
     City
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz  can you please explain what you mean by "delegable"?

     

    I am a beginner in Powerapps do not have much knowledge about it 

  • WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    @Anonymous ,

    Please have a read of this blog of mine

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz  Sure will do. 

     

    Also, I am facing one more issue. I am not able to see the selected value in edit or view mode. 

     

    DefaultSelectedItems Property = "[Parent.Default]

     

    Can you please help me out with this too. 

  • WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    @Anonymous 

    The DefaultSelectedItems of your Combo Box (as per your PM) will depend on what type of field you are writing back to in SharePoint (assume the field is called City)

    If a Text Field

    {Result:ThisItem.City}

    If a Choice field

    {Result:ThisItem.City.Value}

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz 

     

    I tried putting the code you have shared but it is still not showing the values in the edit mode or view mode

    Do not know why is it not working 

     

    {Result: ThisItem.City.Value}

  • WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    @Anonymous ,

    First thing to check - to be displayed in DefaultSelectedItems, the value stored in your data field must be in the schema (available choices) of the combo box. If not, it will simply not display (you will not get any errors).

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz 

     

    I changed the columns in sharepoint list from choices to text field. I applied {Result: ThisItem.Country} and {Result: ThisItem.City} 

     

    However, for the country I am getting the right value back. For City I am getting this ("). Could you please give me some suggestion on solving it? 

  • WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    @Anonymous ,

    That is very basic code that should simply display the content of the field in the record selected. Have you checked the content of the City field in the record you are displaying?

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard