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 / send a default value w...
Power Apps
Answered

send a default value when a drop-down list field is empty

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

So here we are, in my SharePoint list, I have a list of choices (of 2 values) with one of the two choices as the default value.
In powerapps, I have a drop-down box for these two choices. My problem is that when the control is empty (so no sectioned choices), I would like the value returned to SharePoint to be the default value set in my SharePoint list, so one of my choices.

 

Thank you in advance for your help

Categories:
I have the same question (0)
  • Verified answer
    Mr-Dang-MSFT Profile Picture
    Microsoft Employee on at

    There's a few ways of doing this. The clearest and easiest way would be to set the dropdown list to automatically display the default choice. It avoids needing to put in an experience to catch a blank response.

     

    If the dropdown is in a Form control, I prefer to change the Default property of the card instead of the dropdown control itself. This way the dropdown can easily inherit Parent.Default.

     

    1. You can use the Choices function to get a table of options for that column.
    2. Then in the Card's Default proprety, you can filter the table of options to the record you want:
      LookUp(Choices(datasource.column_name),Value="your option here")
      This looks up the first choice of the choices available for that column which matches your given Value.

     

    Let me know how this goes.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    thank you for your answer @Mr-Dang-MSFT ,

     

    Indeed, that's what I was looking for, it's working now.
    Before you answered I couldn't compare the values (with the Value="your option here" part) but it's done.

     

    Thank you again

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard