Hi all,

We already know that there are three types of variables in PowerApps.

  1. Global

2.Context (Local)


Sometimes due to increasing of code developers will give same names for Global and local variables. Here I show how to access them both without any confusion.

Declare Global Variable in App Onstart.


Global Variable

and now decalre local (Context) variable in button’s OnSelect


Context variable

So now if we want to

access local variable we can just use variable name abc and

if you want to access Global variable use with operator [@abc]