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 / save all selected item...
Power Apps
Answered

save all selected items in a multi select to a variable

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

so i have a multi select and I want to save all the selected values from a multi select and after the form is reset use that saved variable as a default.

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    What type of multi-select control are you using?  A combobox?  Checkboxes?  Something else?

    Also, where are you getting your option values from?  Is this a Choices column?  A LookUp Column?  A Text Column?

     

    The answer I give will depend on what input type.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@miguelrodrigue ,

    Could you please share more about your scenario? More details will be appreciated.

    To solve the issue that you mentioned, please provide more details as below.

    • Do you have multi selections from a Combo Box?
    • Do you want to display the selections in your Combo Box after reset?

    I assume that there is a Combo Box in your form. Considering there are multiple selections within, I think that creating a collection saving selected items from Combo Box can achieve your needs.

    I have a test on my side, please take a try as below.

    ComboBox.Items: 

    Choices([@SPlist].SPcolumn)

    ComboBox.OnChange: 

    ClearCollect(Collection,DataCardValue3.SelectedItems)

    ComboBox.DefaultSelectedItems: 

    Collection

    ResetButton.OnSelect: 

     ResetForm(Form1)

     

    Best Regards,

    Qi

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