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
    41,874 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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 20

#2
BCBuizer Profile Picture

BCBuizer 10 Super User 2025 Season 1

#2
LC-26081402-0 Profile Picture

LC-26081402-0 10

Overall leaderboard