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 / Removing a choice from...
Power Apps
Answered

Removing a choice from Dataverse choices in combo box.

(0) ShareShare
ReportReport
Posted on by 375

Hi all,

 

I have a Dataverse table with a multiple choice column. The thing is I want a couple of the choices to be mandatory and not be able to unselect them.

Now when you use Choices() in a combo box it shows the option, I stopped this by simply filtering the datasource.

However, If the choice is selected it still shows in the selected items of the combo box and lets you remove it. Is it possible to either:

1. Make a choice mandatory on Dataverse's end.

2. Filter the selected items preview on a combo box.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    BradonK Profile Picture
    375 on at

    While I couldn't find anything on making a choice mandatory, I did find a way to stop it showing in the combo box.

     

    Since the combo box's default items were set to a record in a table, I simply filtered the default items as well as the combo box source. This means when the default selected items are set, it just doesn't select the mandatory choice.

     

    But since that meant that the mandatory choice isn't selected, I had to add it manually later on by using this formula (names are all placeholders):

    ClearCollect(colTempChoices, Choice.ChoiceValue);

    Collect(colTempChoices, cmbComboBox.SelectedItems)

     

    Then I just parse the collection into the patch function for the record.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard