Nicola Young
Mar 23, 20211 min
Updated: May 21, 2021
In this video you will learn how and when to use contextual and global variables within your Power Apps.
Contextual variables
Global variables
Link to the video on YouTube: Intro to Power Apps Variables
Link to the video and the app download for Curated Library subscribers:
0:00 Intro
0:51 Create the solution in Power Apps and demo of Excel-like functionality
Shane starts by creating a blank tablet layout app in Power Apps. An Excel spreadsheet is recreated in the app by inserting two text inputs and two labels. variables not used
5:15 Demo of a Contextual variable
A contextual variable stores a value and makes it available on one screen. A button is inserted and the Update context function is added to the button.
9:49 Demo of pushing a Contextual variable to another screen
A button is inserted and the Navigate function is added to the button.
13:44 Demo of a Global variable
A global variable only needs to be created once and then can be used throughout an entire app. A button is inserted and the Set function is added to the button.
Do you want to become a Power Apps Rockstar? Check out our different full length training classes at https://training.PowerApps911.com or you can download a working version of the app we built today by subscribing to the Curated Library.