Context/Local Variables

Shows how to set Context/Local variables

Related Articles

... and you 'll find more on the Power Apps Menu

In this case, SortDescending is a Context variable whose scope is just the screen that it is on

UpdateContext({SortDescending:If(SortDescending=1,0,1)});
 

Note that just like Global variables, Context variables are visible in the variable area

 


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences