Thank you, it works.
My post below used to be working fine, but it is not working anymore.
Here is the new solution that someone posted. https://powerusers.microsoft.com/t5/General-Discussion/Update-blank-Null-value-to-fields-Date-User-C...
Don't follow the direct below.
If you haven't figure it out. Here is the solution for you.
Update the Default Value and On change properties as below. It works well. Hope it helps you.
In the PowerApp,
Date picker Name : dDue
Create a Variable: vDate
Default Value | If(vDate="Empty",Blank(), If(vDate="NotEmpty", dDue.SelectedDate, Parent.Default )) |
On Change | If(IsBlank(dDue), Set(vDate, "Empty"), Set(vDate, "NotEmpty")) |
User | Count |
---|---|
142 | |
141 | |
77 | |
74 | |
71 |
User | Count |
---|---|
230 | |
166 | |
75 | |
67 | |
61 |