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 / Datepicker save date a...
Power Apps
Answered

Datepicker save date as text in excel

(1) ShareShare
ReportReport
Posted on by 7

Hi! I have a problem I can't solve. I have a datepicker in one datacard associated with an excel table. The problem is that the date I choose is saved in my exel table as text instead of a number (or a date). I have tried with the function text on the Update property and also the DateValue function.

 

 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Have formatted the excel column as Date?

    If not format the column as Date, remove the datacard and reinsert.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • ARODRIGUEZESCOT Profile Picture
    7 on at

    Hi!

     

    Thank you for your answer. unfortunately it didn't work. I think that the issue coul be fixed with the Update property from the datacard where the datepicker is located, but I haven't been able yet.

    My excel column is formatted as a date, but the new rows created still gets saved as a text, instead of a number that I can format. At the first 2 rows I changed manually the date and the error gets reflected in the app. It's like there are two different languages... (look at the first two images).

     

    I have also been looking about the original format that the datepicker write the information. I think it's not a date value, but it's a text, isn't it?

     

     

     

    ARODRIGUEZESCOT_0-1653552196041.pngARODRIGUEZESCOT_3-1653552944485.png

     

    ARODRIGUEZESCOT_1-1653552262125.png

    ARODRIGUEZESCOT_2-1653552282981.png

     

     

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @ARODRIGUEZESCOT,

    Have you solved your problem?

    Do you want to save selected date to your Excel table?

     

    I think you have something misunderstanding with the date format within Excel table.

    If you have formatted the column as Date, then the value within always expects date value. Even if it display as numbers, it is Date value when logic works.

     

    In addition, make the entire date column format as the same date format.

     

    To tell you the truth, I always suggest a General column type to save the date because you could use the Text() function to format the date as any format you want to, like "dd mmm yyyy"

    vqiaqimsft_0-1654068687930.png

    Then you just need to modify the Update property as below:

    Text(DatePicker1.SelectedDate,"dd mmm yyyy")
  • ARODRIGUEZESCOT Profile Picture
    7 on at

    Hi @v-qiaqi-msft!

     

    I have just try it and it worked!!! Thank you so much!!!

     

    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

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#2
11manish Profile Picture

11manish 186

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 105 Super User 2026 Season 1

Last 30 days Overall leaderboard