Notifications
Announcements
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?
Thanks in advance,Chris
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.
That worked perfectly. Thank you.
You want to avoid using a collection; consider this alternative approach.
In Combo Box 2 item:
Filter( ColControlsChoices, !(ComboBox1.Selected.Value in Columnname))
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268