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 / Power Apps converting ...
Power Apps
Answered

Power Apps converting Date Text to Number value

(0) ShareShare
ReportReport
Posted on by 25

Hi all,

 

I know this is a common Excel issue, but it is happening to me in a Power App connected to an Excel Online table and I cannot figure out how to solve it.

 

I have a gallery that displays what year places got audited and what the future date of the next audit is. See image below (some company info is blurred out):

boscarikn2_0-1690317623803.png

 

I want a user to be able to click the Edit button in the gallery and use the Edit Form on the bottom of the screen to enter a future audit date. But, if I enter a date in the form and click save, it automatically converts that date to a number. This is showing in both the Power App and Excel file. Please see before and after images below.

 

Before saving:

boscarikn2_1-1690317760252.png

 

After saving:

boscarikn2_3-1690317846704.png

 

Does this fix have to be in Excel? In Power Apps? Both? 

 

You can see above that these dates can be date ranges too. I am totally fine with this being a Text field only without a Date data type, but it doesn't work regardless.

 

Thanks!!

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

    Hi @boscarikn2 ,

     

    I can reproduce this issue, by formatting the column in Excel table as General. Based on the value "May 9-11,2023", this column should be format as Text. Then just refresh the data source will solve the problem.

    vjefferni_0-1690436449245.png

    vjefferni_1-1690436496074.png

    vjefferni_2-1690436524765.png

     

    Best regards,

     

  • boscarikn2 Profile Picture
    25 on at

    Brilliant! That worked perfectly. Thank you so much.

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard