cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HansHeintz
Helper V
Helper V

Resetting a date field in a table, asking to be sure

In a CDS table of my app items can be tasks with or without a specific date. (Should be done on a specific date or  not, the field taskdate has a value or not)

If a record by someone has been added to be done on a specific date and on hindsight a user wants to make this task "dateless", I need to copy all data of this record to a new record without the date and delete the old one? Because powerapps cannot blank dates in a table? This is correct?

1 ACCEPTED SOLUTION

Accepted Solutions
Eelman
Super User
Super User

@HansHeintz 

I'm not sure I find it's the same in CDS, but when 'resetting' a date in SharePoint you need to go to Settings and turn on Formula Level Error Management. Then, you can use Patch and Blank() to clear the date, eg

 

Patch( yourTable, LookUp( yourRecord ), { yourDateColumn: Blank() } )

View solution in original post

3 REPLIES 3
Eelman
Super User
Super User

@HansHeintz 

I'm not sure I find it's the same in CDS, but when 'resetting' a date in SharePoint you need to go to Settings and turn on Formula Level Error Management. Then, you can use Patch and Blank() to clear the date, eg

 

Patch( yourTable, LookUp( yourRecord ), { yourDateColumn: Blank() } )

View solution in original post

mahoneypat
Solution Sage
Solution Sage

Formula level error management is an option you can turn on in Dataverse for Teams.

mahoneypat_0-1614430471041.png

 

Pat

 

HansHeintz
Helper V
Helper V

Thanks! Can now set a date field to blank..

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (89,862)