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

How to create / change variable?

Define the OnSelect property of some item (like button) with the Set function, like this:

  • Set(x,10)

From now, pressing of button changes the value of “x” variable to 10.

Or like this:

  • Set(x,x+1)

which increases the current value by 1. 

How to show the current value of variable?

Write the name of the variable to the Text property of Label:

How to control them

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

Leave a Reply

Your email address will not be published.


clear formPost comment