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

Notifications

Announcements

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 (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 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
    762 Super User 2025 Season 2 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!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard