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 / Using IsBlank with a D...
Power Apps
Unanswered

Using IsBlank with a Date Picker

(0) ShareShare
ReportReport
Posted on by 4

Any help is appreciated.

I'm using an if statement, when false to update a bucket in Planner.

The value I'm assessing is from a Date Picker.

I'm trying to determine if the Date Picker has a date in it by using !IsBlank. If there is a date, then update the Planner. bucket.

 

If(!IsBlank(RevisitDate.SelectedDate), Set (bucket_ID,"oihKkUQ-VUGxiGKAfmVUN2UAEgJE"));

Thanks

Categories:
I have the same question (0)
  • vivekravi Profile Picture
    241 on at

    Hi,

     

    Try setting the default value of the date picker to Blank() unless there is not date.

  • SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at

    Hi @seames 

     

    The IsBlank function is used to check if a value is blank or an empty string. The Date Picker control returns a date value, not a string value, so you can't use IsBlank to check if it has a date in it. Your code could look something like this:

    If(
     IsEmpty(RevisitDate.SelectedDate), 
     Set(bucket_ID,"oihKkUQ-VUGxiGKAfmVUN2UAEgJE")
    );

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • seames Profile Picture
    4 on at

    Thank you for the response. That didn't seem to do anything.

     

    I found an error that "SelectedDate" isn't recognized, so I tried adding an actual date as  the InitialPickerDate, but that didn't work either 😕

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard