cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ChristophM
Level: Powered On

Patch a datetime-column in a collection that is NULL

Powerapps forbids to patch a column in a collection that is NULL. So it´s necessary before patching to update a NULL-Value to -> "". 

But what am I doing if I need to patch a NULL-Value of a column in a collection that is a datetime? I can´t use the workaround because an error message tells me, that it isn´t allowed to set a datetime-column to -> "". Really, I am tired of using one workaround after another, but I need now another one. Can you help? To patch a NULL-Value should be a 1 + 1 of a low-code programming language. This problem exists now since 2 years:

https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/Ability-to-patch-null-values-any-up...


1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Patch a datetime-column in a collection that is NULL

Hi @ChristophM ,

Do you want to patch a Non-Value of a column in a collection?

 

Actually, it is an known issue within PowerApps -- When using Patch function to patch data back to collection, it could not patch data to a Non-Value of a column.

 

As an fixed solution, please consider turn on the "Formula-level error management" option within Advanced settings of App settings of your app firstly. Then try your Patch formula again, check if the issue is solved.

 

Please also check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/new-feature-error-handling-and-writing-null-values-to-dat...

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Patch a datetime-column in a collection that is NULL

Hi @ChristophM ,

Do you want to patch a Non-Value of a column in a collection?

 

Actually, it is an known issue within PowerApps -- When using Patch function to patch data back to collection, it could not patch data to a Non-Value of a column.

 

As an fixed solution, please consider turn on the "Formula-level error management" option within Advanced settings of App settings of your app firstly. Then try your Patch formula again, check if the issue is solved.

 

Please also check and see if the following blog would help in your scenario:

https://powerapps.microsoft.com/en-us/blog/new-feature-error-handling-and-writing-null-values-to-dat...

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (3,783)