Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 1AudviIGJLzmQJ56Yiu2eN
Power Apps - Building Power Apps

Display a default value in a Choices type field in the PowerApps form

Like (0) ShareShare
ReportReport
Posted on 10 May 2023 11:59:50 by 5

Good morning,

I created an application to manage non-conformities on a production site, an application based on a Sharepoint list.

 

From the home page of the app I gave the possibility to create 2 different types of NC: a supplier one and an internal one (with 2 different forms behind).

 

I would like the default value for the dropdown field "Type of NC" available in both forms (which in the Sharepoint list offers 3 possibilities) to be filled in automatically by "supplier" or by "internal" depending on the entry chosen in the home page.

Is this possible, please? Have you ever pushed an identical behavior into an app?

Everyhting I tried with the DefaultSelectedItems worked wrong.

 

Charlotte_Lyon_0-1683723463989.png

 

Thank you in advance for your help,

Charlotte

  • Customer self service portal Profile Picture
    5 on 11 May 2023 at 12:23:32
    Re: Display a default value in a Choices type field in the PowerApps form

    Hello @v-zhoqian-msft , 

     

    I had found the solution in another post, but yours did answer my need to. I used the following formula "{Value:"Fournisseur"}" or {Value:"Interne"} in the DefaultSelectedItems field of my edit forms and it worked just fine.

     

    Thank you for your reply.

     

  • Verified answer
    v-zhoqian-msft Profile Picture
    Microsoft Employee on 11 May 2023 at 03:33:07
    Re: Display a default value in a Choices type field in the PowerApps form

    Hi @Charlotte_Lyon ,

     

    Do you want the combo box in the second form to display the selected item of the combo box in the first form by default?

    The DefaultSelectedItems property of the second combo box should be: combobox1.SelectedItems

     

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 223 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 110

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 89 Super User 2025 Season 1

Overall leaderboard
Loading started