Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

Power Apps IsBlank Function: Check Text Inputs, Dates, Variables and Form Fields

If you need to know whether a user left a field empty, the Power Apps IsBlank function gives you a plain true or false. IsBlank(txtIbTitle.Text) returns true until someone types a title.

Where people get stuck is everything around that one line. Spaces aren’t blank, a date picker has no Text, and an Edit form hides its boxes behind names like DataCardValue9.

In this tutorial, we’ll use the power apps isblank function to check a text input, a date field, a variable, a SharePoint field and a form data card, then show a label only when a value exists and block a Save button while several fields are empty.

Every result below comes from my Service Desk Demo app, tested in Studio Preview on 11/01/2026.

The Sample App We’ll Use (Build It Step by Step)

All examples run in one canvas app connected to a SharePoint list called Service Requests. It holds 623 help desk tickets with Title, Status, Priority, Requester and DueDate columns. If you’ve never connected a list, our guide to creating a canvas app from a SharePoint list goes deeper.

Two rows matter here. Item 2 has a Requester. Item 622 is a test row where only the Title was filled in, so its Requester is empty.

Service Requests SharePoint list with Title, Status, Priority and Requester columns used by the IsBlank demo

Step 1: Start a new app. Go to make.powerapps.com and select Start with design on the Home page.

Power Apps maker portal Home page with the Start with design option for a new IsBlank demo app

Step 2: Create a blank canvas app. Select Create from blank. A canvas app is one where you place every control yourself.

Create from blank option that starts a new Power Apps canvas app

Step 3: Pick the Tablet layout. Choose Tablet and select Create. Power Apps Studio, the app editor, opens.

Start with a blank canvas dialog with the Tablet layout picked for the demo app

Step 4: Add the data. Select Add data, search for SharePoint and pick the SharePoint connector. Paste your site URL and select Connect.

Add data pane in Power Apps Studio with the SharePoint connector picked

Step 5: Choose the list. Check Service Requests and select Connect. The list is now a data source, which is just a place the app reads records from.

Choose a list dialog with Service Requests checked as the app data source

Step 6: Add the demo screen. Select New screen > Blank. To rename it, select the screen and click its name in the Properties pane. I called it scrIsBlank.

Step 7: Insert the controls. From the Insert menu, add a Text input named txtIbTitle, a classic Date picker named dpIbDue, a few labels and a Save button. Set the text input’s Default to "" so it starts empty.

To set any property, select the control, pick the property in the dropdown on the left of the fx formula bar, then type the formula. Run the app with Play at the top right, or hold Alt and click a button. Press Ctrl+S to save.

How IsBlank() Works

The syntax is IsBlank(Value). It returns true when the value is blank (no value at all) or an empty string "", and false for anything else.

Blank shows up in more places than you’d think. A SharePoint column with nothing in it comes into Power Apps as blank, and so does a variable you never set.

Important: IsBlank isn’t meant for tables. A collection with no rows still returns false, so use IsEmpty() to check a table.

Method 1: Check If a Text Input Is Empty in Power Apps (Recommended)

This is the check you’ll write most often. Select a label on scrIsBlank, pick Text in the property dropdown and type this:

IsBlank(txtIbTitle.Text)
Power Apps Studio label Text property with the IsBlank formula for the txtIbTitle text input

With nothing typed, the label shows true. All four checks on the screen are true at the start, because nothing has been typed, picked or set yet.

IsBlank demo screen in Preview with every check showing true before any input

How does this work?

txtIbTitle.Text holds whatever is in the box. An empty box gives an empty string, and IsBlank counts that as blank, so you don’t need a separate = "" test.

So here’s the catch: I typed three spaces into the same box. IsBlank(txtIbTitle.Text) flipped to false, because a space is a character. Wrapping it in Trim() gave true again:

IsBlank(Trim(txtIbTitle.Text))
Preview showing IsBlank false for a title with only spaces while the Trim version returns true

Trim() removes every space except single spaces between words, so a box of spaces becomes an empty string. Our Power Apps Trim function guide covers it in more detail.

Pro Tip: use Trim() in every required-field check on a text box. If you clear a text input after saving, the check goes back to true on its own.

Method 2: Check If a Date Field Is Empty

A date picker has no Text property you can rely on, so check SelectedDate instead. Same demo app, now with the date picker:

IsBlank(dpIbDue.SelectedDate)

With no date picked, it returned true (third row in the screenshots above). After I picked 11/10/2026, it returned false.

How does this work?

I set the picker’s DefaultDate to Blank(), so SelectedDate starts with no value. If your picker defaults to Today(), IsBlank starts out false instead. Our post on the Power Apps date time picker shows the other picker properties.

Method 3: Check If a Variable Is Blank in Power Apps

A global variable that was never set is blank. On scrIsBlank, varIbNote starts that way, and two buttons change it. If you’re not sure which kind of variable you need, read global vs context variables in Power Apps first.

Set(varIbNote, "Call back Monday")
Set(varIbNote, Blank())

The label uses this formula:

IsBlank(varIbNote)

Before any click, it showed true. After I clicked Set varIbNote, it showed false.

Preview after clicking Set varIbNote with IsBlank of the variable now false

How does this work?

Set() stores “Call back Monday”, so the variable has a value. Clear varIbNote runs Set(varIbNote, Blank()), and the label goes back to true. Setting it to "" would also count as blank.

Method 4: Check If a SharePoint Field Is Blank

To check one column of one list item, get the record with LookUp() and read the column. Our Power Apps LookUp guide for SharePoint lists explains the function itself. Here are the two items from the sample list:

IsBlank(LookUp('Service Requests', ID = 2).Requester)
IsBlank(LookUp('Service Requests', ID = 622).Requester)

Item 2 returned false because it has a Requester. Item 622 returned true because only its Title was filled in.

Expanded formula bar with IsBlank of the LookUp Requester for item 622 returning true

How does this work?

LookUp() returns the first record that matches ID = 622. The empty Requester comes from SharePoint as a null, which Power Apps shows as blank, so IsBlank returns true.

Method 5: Power Apps Visible If Not Blank

Now flip the test around. I want a green confirmation label to appear only after the user types a title. Select the label, pick Visible in the property dropdown and type:

!IsBlank(txtIbTitle.Text)

Its Text is this:

"Looks good - we will save: " & txtIbTitle.Text
Label Visible property set to not IsBlank so the green message shows only when a title exists

How does this work?

The ! means Not, so the formula returns true when the box has text. Visible accepts true or false directly, so you don’t need If(). The same idea drives showing a control when a checkbox is checked.

Important: with three spaces typed, the label appeared too. Use !IsBlank(Trim(txtIbTitle.Text)) if spaces shouldn’t count.

Method 6: Check If Multiple Fields Are Blank

For two or more fields, join the checks with || (Or). Same demo app, now with two fields at once: the Save button stays disabled until both the title and the date have a value. Select the button, pick DisplayMode and type this. Our Power Apps button guide covers the other button properties.

If(
    IsBlank(txtIbTitle.Text) || IsBlank(dpIbDue.SelectedDate),
    DisplayMode.Disabled,
    DisplayMode.Edit
)
Save button DisplayMode formula that disables it while the title or due date is blank

To tell the user what’s missing, a label builds the list with Concatenate in Power Apps:

"Missing: " & Coalesce(
    Concatenate(
        If(IsBlank(txtIbTitle.Text), "Title  ", ""),
        If(IsBlank(dpIbDue.SelectedDate), "Due date", "")
    ),
    "(nothing)"
)
Missing fields label formula with Concatenate, If and IsBlank showing Missing Title Due date

Empty, it read “Missing: Title Due date”. After I typed “VPN access for new hire” and picked 11/10/2026, it read “Missing: (nothing)”, Save turned on and the green label appeared.

Preview with title and due date filled, the Save button enabled and the green message visible

How does this work?

|| returns true if either check is true, so one empty field is enough to keep Save disabled. In the label, each If() adds a name only when its field is blank.

When both If() calls return “”, Concatenate returns an empty string. Coalesce() skips empty strings, so it falls back to “(nothing)”.

Method 7: Check If a Data Card Is Empty in an Edit Form

On a second screen, scrIsBlankForm, I added an Edit form named frmIb on the same sample list, Service Requests. It’s in New mode with Title (required), Requester and DueDate cards. Each card’s box gets a generated name, so check the box, not the card:

IsBlank(DataCardValue9Ib.Text)
IsBlank(DataCardValue12Ib.Text)
IsBlank(DataCardValue13Ib.SelectedDate)
IsBlank(Title_DataCard2Ib.Update)
frmIb.Valid

A button checks the two fields I care about and shows a banner with Notify():

If(
    IsBlank(DataCardValue9Ib.Text) || IsBlank(DataCardValue12Ib.Text),
    Notify("Fill in Title and Requester first", NotificationType.Error),
    Notify("All required fields are filled", NotificationType.Success)
)
OnSelect formula of the Check required fields button using IsBlank on two data card values

On the empty form, all three boxes and the Title card’s Update were blank, frmIb.Valid was false and “Blank fields: 3” showed. The button gave a red “Fill in Title and Requester first” banner.

Empty Edit form in Preview with three blank fields, Valid false and the red Notify banner

I typed “Printer jam on floor 3” and “Olivia Bennett”. Valid turned true, “Blank fields: 1” (the date) showed, and the button gave a green “All required fields are filled” banner. Nothing was submitted.

Edit form with Title and Requester filled, Valid true, one blank field and the green success banner

How does this work?

DataCardValue9Ib is the text box inside the Title card, so its Text is what the user typed. The card’s Update property is the value the form will save, which is why it’s blank too.

Valid only checks the list’s own rules. Title is the only required column, so Valid was true while DueDate was still empty. That’s why I test Requester with IsBlank myself.

The counter puts the three values in a small table and counts the blank ones:

"Blank fields: " & CountRows(Filter(
    [DataCardValue9Ib.Text, DataCardValue12Ib.Text, Text(DataCardValue13Ib.SelectedDate)],
    IsBlank(Value)
))

Pro Tip: for messages like these, our Power Apps Notify function guide lists every NotificationType. For bigger forms, see Power Apps form validation.

Which Method Should You Use?

What you’re checkingFormula pattern
Text inputIsBlank(Trim(txtIbTitle.Text))
Date pickerIsBlank(dpIbDue.SelectedDate)
VariableIsBlank(varIbNote)
SharePoint columnIsBlank(LookUp(list, ID = n).Column)
Show a control only with a value!IsBlank(...) in Visible
Several fields at onceIsBlank(a) || IsBlank(b) in DisplayMode
Form boxIsBlank(DataCardValueN.Text), plus Form.Valid

Things to Keep in Mind

  • Spaces aren’t blank. Fix: wrap text in Trim() before IsBlank().
  • IsBlank returns false for a collection with no rows. Fix: use IsEmpty() for tables and collections.
  • A date picker that defaults to Today() already has a value. Fix: set DefaultDate to Blank() when the date is optional.
  • A blank classic date picker in an Edit form showed 12/31/2001 in Studio. Fix: set its InputTextPlaceholder, for example “mm/dd/yyyy”.
  • Turning on error handling in an older app can change what IsBlank sees. Fix: Microsoft suggests IsBlankOrError there.

For more examples like these, browse the Power Apps tutorials hub, or learn it on real projects in our Power Apps training course.

Here are a few more Power Apps tutorials I’d read next:

Frequently Asked Questions

How do I check if a text input is empty in Power Apps?

Use IsBlank(TextInput1.Text). It returns true for an empty box. Wrap the text in Trim(), like IsBlank(Trim(TextInput1.Text)), so a box with only spaces also counts as empty.

How do I check if a variable is blank in Power Apps?

Use IsBlank(varName). A variable that was never set, or was set with Set(varName, Blank()) or Set(varName, “”), returns true.

How do I make a control visible only if a field is not blank?

Set the control’s Visible property to !IsBlank(TextInput1.Text). The ! means Not, so the control shows as soon as the box has text.

How do I check if multiple fields are blank in Power Apps?

Join the checks with ||, for example IsBlank(Title.Text) || IsBlank(DueDate.SelectedDate). Put it in a button’s DisplayMode to disable the button until every field has a value.

Can I use IsBlank to check if a collection is empty?

No. IsBlank returns false for a collection even when it has no rows. Use IsEmpty() for tables, as the Blank, Coalesce, IsBlank and IsEmpty reference explains.