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 / Cannot save DatePicker...
Power Apps
Unanswered

Cannot save DatePicker in Sharepoint list or Web Access App

(0) ShareShare
ReportReport
Posted on by 3

Hello,

 

i have a problem with save DateTime values in sharepoint or Web Access App.

 

I tried the following formula:

 

Patch(Datasource,Defaults(Datasource{DateOfSale: DatePicker.SelectedDate, Notice:"Test" , Title: "TestTitle"} )

 

A new record will be saved, but not the Date value. I've tried the Text formating too, but the i retreive an error, becaus an DateTime value is expected.

 

What is wrong?

 

Best regards

 

Sascha

 

 

Categories:
  • WendyLi Profile Picture
    Microsoft Employee on at

    Hi,

     

    I had a test using a SharePoint list named List_PowerApps, I used the following forumla to create a new item, the DateofSale column could work well when creating a new item via PowerApps.

    Patch(List_PowerApps, Defaults(List_PowerApps),{Title:TextInput1.Text, DateofSale: DatePicker1.SelectedDate})

    Please set your formula like the above, and have a try again.

     

     

    Thanks,

    Wendy

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard