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 / How do I set defaultse...
Power Apps
Answered

How do I set defaultselecteditems to a specific value on new form, but the multiple possible values that were chosen from the record when not new?

(0) ShareShare
ReportReport
Posted on by 432

i have a drop down that on new form id like to default to another column, that part ive managed,

but on the second part of my if statementm id like the defaultselecteditems to be the items selected , essentially overriding the autopopulated item if the user wishes to do.

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

    Use a variable for example:

    Set(formRecord, Blank()); for a new form or for a record from a gallery Set(formRecord, thisitem)

    Then use this variable within an IF statement on your default property. 

     

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

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

  • dperez13 Profile Picture
    432 on at

    So under the default property, do I need to filter or loop through the for all defaultselectedselecteditems versus set a record/table (still unclear which one is required here) to other values.

     

    how do i set a default person/people drop down to say, two records?

     

    { [displayname : 1 , email : 1 ], [displayname: 2, email:2] }

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    I am not sure if this will work?

    { [displayname : 1 , email : 1 ], [displayname: 2, email:2] }

     

    If not you may have to use a lookup funtion. 

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @dperez13 ,

     

    I see you have posted several similar threads on this People Picker Combo box, have you solved this issue?

     

    Generally speaking, if the Combo box allows single selection, it requires Record type data, and if it allow multiple selections, it requires table type data but you can populate a single record into DefaultSelectedItems property. For your scenario, if you would like to auto populate the allow multiple selections Combo box with some other People Picker, you can use the selections from that control directly:

    If(Form.Mode = FormMode.New, [{DisplayName:..., Claims:...},{DisplayName:..., Claims:...}], OtherPeoplePicker.Selected)

     

    Best regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 490

#2
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 381

Last 30 days Overall leaderboard