Skip to main content

Notifications

Community site session details
Power Apps - Building Power Apps
Answered

Date Picker Runtime Error

Like (1) ShareShare
ReportReport
Posted on 28 Jul 2024 09:09:00 by 111
Hi all,
 
I am connecting a gallery to excel date source to display the date and it is editable, but it shows this error:
 
 
note that I only want the date without the time 
 
thank you
Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    42,492 Super User 2025 Season 1 on 28 Jul 2024 at 15:26:20
    Date Picker Runtime Error
    Hi
     
    Your issue is you are trying to Input a Blank '' null string as a Date and it won't let you
     
    In your code you need to check like
     
    If(!IsBlank(ThisItem.Date), ThisItem.Date)
     
    This way it will only put the date if there is one and put nothing if its blank.. now if you actually have a '' string there you have to check for that.
    So that is your issue though, its Blank/Null./Empty String and you need a Date value

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 169

#3
stampcoin Profile Picture

stampcoin 130

Overall leaderboard
Loading complete