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 / Cascading Combo Box wi...
Power Apps
Unanswered

Cascading Combo Box with multiple selections

(1) ShareShare
ReportReport
Posted on by 34

Hi all,

 

I am trying to create a setup with three Combo Boxes where they are cascading and dependent on the selected values from the previous Combo Box. I currently have this as logic for my second Combo Box:

 

Sort(
 Distinct(
 Filter(
 edf_costcontrol_list_local_budget_owners,
 CRG in ddCRG.SelectedItems.Value
 ),
 CostObject_CMT
 ),
 Value
)

So what I am trying to achieve for this combobox is that it gives all the available options for CostObject_CMT, based on the selection made in CRG. In the example table below, if i would have selected Apple and Peer, i want the second dropdown to provide me with the options A, B, and C. However, currently when i make multiple selections for CRG, it doesnt provide all options for CostObject_CMT. I know this because sometimes when I add a value for CRG to my selection, one of the options for CostObject_CMT dissapears, which shouldnt be possible as it should add the additional available options, so nothing should be able to dissapear. Any knows how to resolve this? Thanks

CRGCostObject_CMT
AppleA
AppleB
PeerC
BananaD
Categories:
I have the same question (1)
  • BCBuizer Profile Picture
    22,776 Super User 2026 Season 1 on at

    Hallo @jeroen1290 ,

     

    The only thing that comes to mind that may be related is a delegation issue due to the use of the in operator. However, that doesn't explain why you lose CostObject_CMT values that were showing before when adding CRG items to the selection.

     

    Can you please share what data source you are using and how many items you have in there?

  • Giraldoj Profile Picture
    897 Moderator on at

    Hi @jeroen1290 

     

     

    PowerApps sometimes struggles to handle dynamic tables like ddCRG.SelectedItems directly within a Filter function. This can lead to evaluation issues where the filter logic doesn't work as expected.

    You can use a workaround by storing your ComboBox1 selections in a collection and then filtering that collection in ComboBox2.

    To do that, follow this configuration:

    1. OnChange Property of ddCRG:

     

     

     

    ClearCollect(
     colSelectedCRG,
     ddCRG.SelectedItems
    );

     

     

     

     

     
    • Items Property of ComboBox2:

     

     

     

    Sort(
     Distinct(
     Filter(
     edf_costcontrol_list_local_budget_owners,
     CRG in colSelectedCRG.Value
     ),
     CostObject_CMT
     ),
     Value
    );

     

     

     

     

     

    Using this approach ensures that the filter logic works correctly by leveraging the collection to store selected items, which PowerApps can handle more efficiently.

     

    If my response resolved your issue, please feel free to mark it as the solution by clicking "Accept as solution." This helps others find the answer more easily. If you found the content helpful in any other way, a "Thumbs Up" would be greatly appreciated. Thank you!

    Grabación de pantalla 2024-07-06 155800.gif

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 432

#2
Valantis Profile Picture

Valantis 362

#3
timl Profile Picture

timl 337 Super User 2026 Season 1

Last 30 days Overall leaderboard