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

Power Apps Reset Function (4 Practical Examples)

If you want to put a control back the way it started in Power Apps, the Reset function is what you need. It takes one control, such as a text input or a filter box, and sets it back to its starting value, so old search text doesn’t linger for the next person.

It doesn’t blank the control. It returns it to whatever its Default property says.

In this tutorial, I’ll show you how to use the power apps reset function on a text input, a filter panel, a save button and a group of controls, all tested in a real canvas app.

Power Apps Reset Function Syntax

Reset( Control )
ParameterRequiredTypeDescription
ControlYesControlThe input control to reset, such as a text input, dropdown, combo box, check box or date picker.

Return value: none. Reset only works in behavior properties such as OnSelect or OnChange, so put it in a button’s OnSelect or a similar property.

Reset doesn’t read data, so Power Apps delegation doesn’t apply. Controls inside a gallery or an edit form can only be reset from a control in that same gallery or form.

When to Use the Reset Function in Power Apps

  • A Clear or Cancel button on a request screen.
  • Clearing filter controls above a gallery.
  • Emptying inputs after the Patch function saves a record.
  • Resetting a dependent dropdown when its parent changes (OnChange).

Example 1: Reset a Text Input to Its Default in Power Apps

On my scrFnReset screen, the text input txtRsName has its Default set to "Jordan Ellis". I added a button below it. In Power Apps Studio, select the button, pick OnSelect in the property dropdown left of fx, and type the formula. Press Play to test.

Reset(txtRsName)
Reset formula in the OnSelect property of a modern button in Power Apps Studio
Text input back to its default name after clicking the Reset button in Preview

How does this work?

I typed “Maria Torres” over the name and clicked the button. The box went straight back to “Jordan Ellis”, and my label read “Current value: Jordan Ellis”. If you want an empty box instead, set Default to "", as in clearing a text input.

Example 2: Clear All Filters With One Button

Above a gallery of my Service Requests SharePoint list, I placed a search box and a Status dropdown. The gallery’s Items property:

Filter(
    'Service Requests',
    StartsWith(Title, txtRsSearch.Text),
    IsBlank(ddRsStatus.Selected.Value) || Status.Value = ddRsStatus.Selected.Value
)

The Clear filters button resets both controls:

Reset(txtRsSearch);
Reset(ddRsStatus)
Search box and status dropdown cleared by the Clear filters button in Preview

How does this work?

Each Reset runs in order, separated by a semicolon. With “Password” and Closed picked, the label read “Search: Password | Status: Closed”. After the click it read “Search: (empty) | Status: (any)”, and every status was back in the gallery.

Example 3: Save a Record, Then Clear the Form Inputs

This card saves a new item to my IT Help Requests list and gets the inputs ready for the next one:

Patch(
    'IT Help Requests',
    Defaults('IT Help Requests'),
    {
        Title: "Demo Reset - " & txtRsTitle.Text,
        Category: ddRsCat.Selected
    }
);
Notify("Saved: " & txtRsTitle.Text, NotificationType.Success);
Reset(txtRsTitle);
Reset(ddRsCat)
Success message after saving while the title and category inputs are cleared

How does this work?

Patch saves the title and category to the SharePoint list. The Notify function runs before the resets, so it can still read the typed title. Then both inputs clear. In my test, the banner read “Saved: Monitor flickering” and both boxes went blank.

Pro Tip: Put Reset last. If it runs before Patch, you save the default values instead of what the user typed.

Example 4: Reset Many Controls With the Reset Property

Classic input controls in Power Apps also have a Reset property. It’s handy when several formulas clear the same group. The modern text input, dropdown and checkbox don’t have it: Studio rejected it with “Unknown property ‘Reset'”. So I used classic controls here and set each Reset property to:

varRsReset

Then the Clear all button flips that variable with the Set function:

Set(varRsReset, true);
Set(varRsReset, false)
Reset property of a classic text input set to a variable in the formula bar
Classic text input, dropdown and check box cleared by the Clear all button

How does this work?

When varRsReset turns true, every control watching it resets. Setting it back to false gets it ready for the next click. In my test, the note emptied, the dropdown went back to Low and Urgent unchecked. Any other formula can reset the group with the same two lines.

Common Mistakes with the Power Apps Reset Function

  • Wrong property. Reset in a label’s Text shows “Behavior function in a non-behavior property.”
  • Not resettable. Resetting a label shows “The function expects a resettable control as its input.”
  • Gallery controls. You can’t reset a control inside a gallery from outside it. Put the button inside the row, as in resetting check boxes in a gallery.
  • Wrong default. Reset returns to Default, so a combo box needs its default set first. See resetting a combo box.

Wrapping Up

The Power Apps Reset function takes one control and puts its Default back. Use it for Clear buttons, filter panels and after saving in any canvas app.

Browse all Power Apps functions, or read the Reset function on Microsoft Learn.

Other Power Apps functions you may find useful: