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 / 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,747 Moderator 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,747 Moderator 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard