Skip to main content
Community site session details

Community site session details

Session Id : TTJEQaaKY3L8lOrKrxSuJ+
Power Apps - Building Power Apps
Answered

Date Picker Excel Update Field

Like (0) ShareShare
ReportReport
Posted on 26 Nov 2021 14:12:30 by 5

Hello,

 

First time posting πŸ™‚

 

I am using an Excel Table (I know it's not the best data source), to log inspections. One of the columns is for the Inspection Date.

I have tried populating a canvas app from data source, and starting from scratch; however the issue is that the DateValue card always returns a date with the time appended

 

I have tried adding a datepicker and simple text input with

Update: DateValue3.SelectedDate

Update: Text(DateValue3.SelectedDate,DateTimeFormat.ShortDate)

And a few more variations without much luck.

 

The result is always something like this:

eaguilera1_0-1637935680025.png

I also tried rebuilding the excel table to General format, as well as shortDate format but haven't managed to get it working.

 

loosing lots of hair over here!!πŸ˜…

 

Appreciate any help πŸ™‚

  • eaguilera1 Profile Picture
    5 on 30 Nov 2021 at 14:09:59
    Re: Date Picker Excel Update Field

    Thank you @WarrenBelz !  I couldn't manage to get it working initially but you got me thinking about setting it all as text and so I made some adjustments to the initial Excel table. Basically avoided anything that resembled a date, including the name of the column. Afterwards, applying your code solved it and I could rename columns etc.

     

    eaguilera1_0-1638281365534.png

     

  • Verified answer
    WarrenBelz Profile Picture
    148,825 Most Valuable Professional on 27 Nov 2021 at 08:04:58
    Re: Date Picker Excel Update Field

    Hi @eaguilera1 ,

    Dates and Excel . . . one solution is to format it in Excel as Text and have the Update

    Text(DateValue3.SelectedDate,"dd/mm/yyyy")

    then your DefaultDate

    DateValue(ThisItem.'Inspection Date')

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2