Power Automate Check If Date Field Is Empty: A Tested Guide

A blank due date shouldn’t take down your whole flow. Yet one empty row can stop a formatDateTime() call cold.

Quick answer: To make a Power Automate check if date field is empty, use empty(item()?['DueDate']). It returns true for a blank SharePoint date. To query blanks on the server, use the filter DueDate eq null.

In this tutorial, we’ll cover the Power Automate check if date field is empty pattern in a Condition, a Filter array, and a Get items query. We ran every example on November 9, 2026.

Power Automate Select output showing IsEmpty and IsNull true for a blank SharePoint date
Row 2 has no due date, so IsEmpty and IsNull are both true and the text falls back safely

What You Need Before You Start

  • A Power Automate license that includes the SharePoint connector.
  • A SharePoint list with a date column. Ours is Customer Requests, with a date-only column named DueDate.
  • One or two rows with no date, so you can see the blank path run.
IDTitleDueDate
1Ergonomic chairs – Austin office10/15/2026
2Laptop refresh – Denver sales teamblank
3Conference room AV upgrade – Seattle10/20/2026
4Printer toner – NYC front desk10/09/2026
5Standing desks – Chicago officeblank
6Badge printer – Boston lobby10/21/2026
7Copier lease renewal – Dallas office11/09/2026 (today)
8Network switch swap – Atlanta office11/08/2026 (yesterday)
9Desk phones – Phoenix call center11/10/2026 (tomorrow)
10Safety signage – Miami warehouse11/16/2026

Rows 2 and 5 are the blanks. New to column checks? We walk through the basics of a Power Automate condition for blank values separately.

Step 1: Get the List Items

  1. Create an Instant cloud flow with Manually trigger a flow.
  2. Add the SharePoint Get items action.
  3. Pick your Site Address and List Name.
  4. Save the flow.

The connector returned our date-only values as plain text like 2026-10-15. Blank dates came back as null, which matters for the next steps. You can review more Get items filter query examples if your list is large.

Step 2: Add a Condition That Tests the Date

Inside an Apply to each on the Get items value, add a Condition. Click the left box, type /, choose Insert expression, and paste this:

empty(items('Check_each_request')?['DueDate'])

Set the operator to is equal to, and type the expression true on the right. Your loop name replaces Check_each_request.

Power Automate Condition code view using empty on the SharePoint DueDate column
Code view of the Condition. Yes runs for blank dates, and No runs for rows with a date
{
  "type": "If",
  "expression": {
    "and": [
      { "equals": [ "@empty(items('Check_each_request')?['DueDate'])", true ] }
    ]
  }
}

In our run, the Yes branch ran for rows 2 and 5. Use that branch to skip the row or set a variable with a default value.

Step 3: Format the Date Safely

Don’t call formatDateTime() directly on a date that might be blank. It failed in our test with this error:

The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'.
Power Automate InvalidTemplate error from formatDateTime on a null date
formatDateTime(null, …) stopped with InvalidTemplate

Guard it with if(). The function only evaluates the branch it returns, so the format never runs on a blank:

if(empty(item()?['DueDate']),'No due date',formatDateTime(item()?['DueDate'],'MM/dd/yyyy'))

Our rows returned 10/15/2026 for row 1 and No due date for row 2. Check other patterns in our guide to formatDateTime() in Power Automate.

Step 4: Filter Blank Dates in Get Items

When you only want blank rows, make SharePoint do the work. Open Advanced parameters on Get items, show Filter Query, and enter this:

DueDate eq null
Power Automate Get items filter query DueDate eq null in code view
The Filter Query uses the column’s internal name and no quotes around null

Our query returned exactly rows 2 and 5. Swapping in DueDate ne null returned the other eight rows.

Power Automate output IDs 2 and 5 from a DueDate eq null filter
Only the two blank rows came back

Step 5: Flag Blank Dates in a Select Action

Sometimes you want every row, plus a marker that says which ones are blank. Add a Select action, set From to the Get items value, and map these columns:

ColumnExpression
IsEmptyempty(item()?['DueDate'])
IsNullequals(item()?['DueDate'],null)
DueTextif(empty(item()?['DueDate']),'No due date',formatDateTime(item()?['DueDate'],'MM/dd/yyyy'))

Rows 2 and 5 returned true for both flags, and every other row returned false. The screenshot at the top of this post shows that output for row 2.

The Filter array action gives you the same two rows when you need only the blanks. Use empty(item()?['DueDate']) in advanced mode, then read the count with length(body('Filter_blank_dates')). Ours returned 2.

We prefer the Filter Query from Step 4 on big lists, because SharePoint sends back fewer rows. Filter array makes more sense when the items are already in the flow for another reason.

Which one you pick also depends on what happens next. If each blank needs a follow-up email, a loop over the filtered rows keeps that logic easy to read.

empty() Cheat Sheet

Here’s what each check returned in our run:

CheckResult
empty('')true
empty(null)true
empty(' ')false (a space isn’t empty)
empty('2026-11-10')false
equals(null, null)true
equals('', null)false
Missing JSON field with empty()true
coalesce(null, 'No due date')No due date
coalesce('', 'No due date')empty text
Filter array equals(DueDate, '')0 rows
Filter array equals(DueDate, null)rows 2 and 5

We use empty() because it caught both null and empty text. Pair it with the next action when you filter an array in Power Automate.

Common Mistakes to Avoid

  • Comparing a SharePoint date to empty text. equals(item()?['DueDate'],'') found zero rows because blanks arrive as null.
  • Filtering with empty quotes. DueDate eq '' failed with “String was not recognized as a valid DateTime.” Use null.
  • Using coalesce for empty text. coalesce('','No due date') returned the empty text, because empty isn’t null.
  • Passing a blank to other functions. length(null) and ticks(null) both failed in our run. Check first with empty().
  • Formatting an empty string. formatDateTime('', ...) reported that the value must match ISO 8601.

Does This Work With Microsoft Forms Dates?

We only tested SharePoint date columns here. A Forms or Excel value may arrive differently, so add a Compose action, run the flow once, and read the raw output before you choose between null and empty text.

Next Steps

Once blanks are handled, you can safely calculate with the date. Our next stop is working out the date difference in days.

Once you know a date field has a value, a common next check is whether it fell on yesterday. I walk through that in my post on getting yesterday’s date in Power Automate, including a filter for SharePoint items that were due yesterday.

Frequently Asked Questions

How do I check if a date is empty in Power Automate?

Use empty(your_date) in a Condition or Compose action. It returned true for both null and empty text in our test.

Why does formatDateTime fail on a blank date?

A blank SharePoint date arrives as null, and the function requires a string. Guard it with if(empty(x), '', formatDateTime(x, ...)).

How do I filter SharePoint items with no date?

Use DueDate eq null in the Get items Filter Query. The SharePoint connector reference lists the action’s OData filter option.

Is null the same as empty in Power Automate?

No. empty() treats both as empty, but equals('', null) returned false in our run.

Does empty() work on a space?

It returns false for a single space, so trim user-entered text before you test it.

More Power Automate Tutorials

We keep these close whenever a flow handles missing data: