Showing results for 
Search instead for 
Did you mean: 

PowerApps Pro Tips | Find Your Variables

In an earlier blog post we learned about creating variables and how you can use them. In PowerApps Studio, you can now see how your variables interact with the page, and with other items on that page. This new feature is a great way to see how one item in PowerApps might affect the rest of your app.


If you start by building a very simple mobile app with one button and one label that shows when a user presses on the button, it would look like this:



The button has a command on select that is this Variable: UpdateContext({MyVariable: true}) 

The Label has the visibility set to MyVariable.


To see the details about the variable you created, go to the Content tab, then click on Variables.



On this new page (which you can also get to by clicking on File), you can see each screen in your app that has a variable on it.


Once you click on that screen, you’ll see a listing of all variables used on that page. When you click on each variable, you can see details about how it is used.



The screen shows you the control and property it is used on, along with the syntax you created. You can then click through the sub-menus to see how that variable is being used directly, and how other controls are affected by the variable.

Meet Our Blog Authors
  • PowerApps Community Mentor 2018, Practicing surgeon and former Professor of Surgery, University of Illinois, Chicago.
  • Jill of All Trades (Power Apps, SharePoint, PowerShell, Exchange, Power Automate and odds & ends of assorted other things)
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 12 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • I'm Tim Leung - a PowerApps builder. In addition to PowerApps, my main interests include building software with SQL Server and Microsoft .NET. I'm the author of 'Beginning PowerApps' - the first published book on PowerApps. You can buy this from Amazon and other leading bookstores.
  • Systems developer
  • My name is Timothy Shaw and I create digital solutions using the Power Platform, Office 365, and Azure SQL and handle the IT for a small company in the energy sector. When not building the future :), I enjoy playing guitar, good (or really bad!) sci-fi, Xbox therapy, and hanging with my wife and son. Twitter: @ShortForTim