Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps

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

  • Customer self service portal Profile Picture
    5 on at
    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 at
    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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard