web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Set Default selected I...
Power Apps
Unanswered

Set Default selected Items from a reset button

(0) ShareShare
ReportReport
Posted on by 115

Hi, May i know how to select "All" every i click on the erase button?

pityman_0-1656656246036.png
I tried to set the onclick function on the erase button

pityman_1-1656656488048.png



and set the DefaultSelectedItems on combo box

pityman_2-1656656523634.png

 


It doesnt work.. May i know where did i do wrong?


 

Categories:
I have the same question (0)
  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    I would start by checking the variable to see if that is stored "All" as a value that you can pass. I think you can get away with saying: Set(defaultMRT, "All"); Then keep your default selected items as is. If it moans about "All" being an incompatible type then you can do your lookup in the default items. 

     

    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    Subscribe to my YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg

  • Verified answer
    v-yujincui-msft Profile Picture
    on at

    Hi @pityman ,

     

    I have made a simple test for your reference.

    Filter(ComboBoxFilter's Items,Result/Value in ["All"])

    vyujincuimsft_0-1657093445473.png

    Result Screenshot:

    vyujincuimsft_1-1657093683316.png

     

     

     

    Best Regards,

    Charlie Choi

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard