Skip to main content

How to Clear a Column with Patch and Blank in Power Apps

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

To empty a column, patch Blank() into it. Microsoft's reference: Blank returns a blank value, "use this to store a NULL value in a data source that supports these values, effectively removing any value from the field" (Blank function).

Prerequisites​

  • A Patch that updates an item (How to Create or Update a SharePoint List Item with Patch).
  • Formula-level error management turned on. Microsoft's error-handling guidance: with it on, "you can write null or blank values to data sources". It's on by default for new apps; check Settings → Updates → Retired, where Disable formula-level management should be off (Error handling).

Example: Clear a Decline When a Response Is Sent Again​

In the Career Development Plan app, a manager can decline a response with a comment and a review date. When the employee changes it and sends it again, it's waiting for review again, so the old comment and date no longer apply. The Patch clears both:

Part of the Patch in btnSendRS → OnSelect
Status: {Value: StatusPending},
ManagerComment: Blank(),
SubmittedOn: Now(),
ReviewedOn: Blank()

ManagerComment is a multi-line text column and ReviewedOn a date and time column; Blank() clears both kinds.

The Result​

The item's version history in SharePoint shows it. Version 2.0 is the manager's decline, with a comment and a review date. Version 3.0 is the employee's new send: ManagerComment and ReviewedOn are listed with no value:

SharePoint version history: version 3.0 with Response, Status Pending, an empty ManagerComment, SubmittedOn 10/27/2026 10:42 AM and an empty ReviewedOn; version 2.0 with Status Declined, ManagerComment Good example. Add what changed for the customer after the fix, then send it again. and ReviewedOn 10/27/2026 10:50 AM

Reading the item back through SharePoint's API gave null for both columns.

Blank or Empty Text?​

"" is an empty string; Blank() is no value at all. Power Apps' IsBlank treats both as blank (IsBlank vs IsEmpty), but for a date column only Blank() makes sense.

Common Mistakes​

MistakeWhat happensDo this instead
Leaving the column out of the PatchIt keeps its old valueSet it to Blank()
"" for a date columnIt isn't a dateBlank()
Clearing a required columnSharePoint rejects the saveOnly clear columns that aren't required

Troubleshooting​

SymptomLikely causeFix
The value isn't clearedFormula-level error management is offTurn it on in Settings
An error about a required columnThe column is required in the listGive it a value instead

FAQ​

Can I clear a variable the same way?​

Yes: Set(x, Blank()), as Microsoft's data types article shows.

Does Blank() work for Choice columns?​

The example only clears text and date columns, so it doesn't show that.

Conclusion​

Patch Column: Blank() to remove a value, with formula-level error management on. Check the result in the item's version history or by reading it back.

Additional Resources​

Stay Updated

Subscribe to our newsletter for the latest tutorials, tech insights, and developer news.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.