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 / Filtering Combo Boxes ...
Power Apps
Answered

Filtering Combo Boxes to only show items not selected by other combo box

(0) ShareShare
ReportReport
Posted on by 16

I'm currently testing a solution and I am struggling to configure the combo boxes.
I have created a collection 'ColControlsChoices'
I have ComboBox1 and ComboBox2. These both show the same choices from ColControlsChoices.
I want to configure them so that if Items are selected in one ComboBox the options are not available in the other ComboBox.
What is the correct syntax for achieve this?

ChrisSouthgate_0-1698242615075.png

Thanks in advance,
Chris

Categories:
I have the same question (0)
  • Verified answer
    Rajkumar_M Profile Picture
    3,741 Super User 2025 Season 2 on at

    Hi @ChrisSouthgate 

     

    You can accomplish this by utilizing the collection function.

     

    Combo Box 1 OnChange Property:

     

    ClearCollect(
    cmbofil,
    Filter(
    ColControlsChoices,
    !(ComboBox1.Selected.Value in Columnname)
    ))

     

    Combo Box 2 Item Property:

     

    cmbofil

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

  • ChrisSouthgate Profile Picture
    16 on at

    That worked perfectly. Thank you.

  • Verified answer
    Rajkumar_M Profile Picture
    3,741 Super User 2025 Season 2 on at

    You want to avoid using a collection; consider this alternative approach.

     

    In Combo Box 2 item: 

     

    Filter(
    ColControlsChoices,
    !(ComboBox1.Selected.Value in Columnname))

     

    Thanks! 

  • Verified answer
    BrunoTw Profile Picture
    15 on at

    You can also accomplish the same using below logic.

     

    ComboBox1 > Items: ColControlsChoices
    
    ComboBox2 > Items: Filter(ColControlsChoices,!(ThisRecord in ComboBox1.SelectedItems))

     

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard