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 / Display a default valu...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • Verified answer
    v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    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.

  • Customer self service portal Profile Picture
    5 on at

    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.

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard