The logic of PowerApps is not focused on variables at all - it prefers direct connection of items or use of database. But from 2017 the "classic" variables are supported. So how to use them?

How to create / change variable?

Set the OnSelect property of some item (probably button) using Set function, like this:

Set(x,10) - pressing of button changes the value of "x" variable to 10

or like this:

Set(x,x+1) - pressing of button increase the current value by 1

How to show the variables value?

Write the name of the variable to some items Text property:


How to control them

The variables and their values can be seen in File / Variables:

Leave a Reply

Your email address will not be published.


clear formPost comment