web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make Date Field Blank ...
Power Apps
Unanswered

Make Date Field Blank If Dropdown set to specific value

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

 

I have a Status dropdown list named Dropdown-Status and a date field named Date-Closed

 

I have options in the status dropdown list called "Please select an option","Open","Closed"

 

The date field is not visible unless the status is set to Closed

 

When the dropdown is set to Open, I want the date field to be blank when it pulls through to my Sharepoint list, currently it's pulling through the date the powerapp is run. 

 

Can you help please? 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Does it has a default date? That might be the problem.

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    You can make changes in Default property of your date picker - 
    DefaultDate property => If(DropDownDataCardValue.Selected.Value = "Open", Blank(), Parent.Default)

     

  • AJ_vizMan Profile Picture
    on at

    Another way of achieving the solution is 
    In 'Required' property of Date control use -  If(StatusDataCardvalue.Selected.Result = "Closed",true,false) // Use StatusDataCardvalue as available in your app

     

    Now, on 'Update' Property of Date control use - If(StatusDataCardvalue.Selected.Result = "In Progress",Blank(),DataCardValue.SelectedDate) // DataCardValue is Datacard Name in Date control

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard