Skip to main content

Notifications

Community site session details

Community site session details

Session Id : RN/AFwdCUzuZT1UWZyLnlz
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,107 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started
Loading complete