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 / Resetting multi-select...
Power Apps
Answered

Resetting multi-select fields when value detected?

(0) ShareShare
ReportReport
Posted on by 829

Hi Team -

 

I have a multi-select field that is required for all end users to populate.  If the situation does not warrant a specific value, there is a "Not Applicable" value available to select.  The challenge is at times, I have other values along with the "Not Applicable" value selected as an end user forget to remove the "Not Applicable" value or visa-versa.

 

So my question is, is there a way to clear all selected values when "Not Applicable" is selected along with another value? This way, it forces the end user to re-select the correct values.  Thank you!

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @simms7400 ,

     

    I did a test for you.

    1\ This is my list 'LIST99'. 'Test' is a choice column.

    v-xiaochen-msft_0-1616142815664.png

     

    2\ Add a combo box control 'ComboBox1' and set its Items property to:

    Choices(LIST99.Test)

     

    3\ Set onchange property of the combo box control to:

    If("Not Applicable" in ComboBox1.SelectedItems.Value && CountRows(ComboBox1.SelectedItems)>1,Reset(ComboBox1))

     

    4\ Clear the formula of the DefaultSelectedItems property of combo box control (If there is a formula in the property)

     

    5\ The result is as follows:

    AAA.gif

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

  • simms7400 Profile Picture
    829 on at

    @v-xiaochen-msft  Thank you so much!! This worked great!!!

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
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard