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 to set a default v...
Power Apps
Answered

How to set a default value for a dropdown (linked to a sharepoint field)

(0) ShareShare
ReportReport
Posted on by 58

Hi,

i want to set "current year" as default value in a dropdown field.

capture.png

When I write the function now() in "Default", I get the following error: record value is required.

How can i set "current year" as default value in this field?

Thank you! 

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @luis82 

    Are you using a SharePoint Choices field to display the options for Year?

    If yes, put this code in the Default field

    {Value: Year(Today())}

     

    If no, I will need details on the data you used to populate the Items property of the control

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

  • luis82 Profile Picture
    58 on at

    @mdevaney Thank you!

    everything works fine! 😁

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 70

#2
WarrenBelz Profile Picture

WarrenBelz 64 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 36 Super User 2026 Season 1

Last 30 days Overall leaderboard