web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to rest all global...
Power Apps
Unanswered

How to rest all global variable?

(0) ShareShare
ReportReport
Posted on by 634

I have a form where I am setting a variable to the value of the field. When the form is submitted those variables still have their values so when I go back to the form to make the next entry the form is blank(reset) but the variables still have their values.

 

I can use the following on the submit button which works for a single variable

 

Set(variable, Blank())

 

 

Problem is that I have 20 variables I need to reset. is my only option to do the following or is there a more inclusive way to reset all global variables?

 

 

Set(variable, Blank()); Set(variable2, Blank()); Set(variable3, Blank())......

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,481 Most Valuable Professional on at

    Other than exiting and re-loading the app I'm not aware of any way to globally reset all the variables with one statement.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard