Search code examples
evalpowerapps

Eval() function for Microsoft PowerApps


Is someone aware of an equivalent function in PowerApps that will, just like the Excel Eval() function, take an input string value, execute commands specified within it, and produce a result? For example, if I have I have two variables, varOne already set to the value 1 and a variable x set to 8, and then I fed this Eval() function the following string:

"x + " & varOne & " = " & x + varOne

...it would produce:

"x + 1 = 9"

Does something like this (or a reasonable workaround) exist for PowerApps?


Solution

  • No, this functionality does not exist in PowerApps at this moment. Feel free to create a new feature request in the PowerApps Ideas board for this.