Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

create a variable name with another variable



I have a problem here:


I want to create a variable name with a concatenate function but this doesn't work:




You have to know that varNum is a variable already created (no problem with that).

The variable name should look like this: varNon3 or varNon4 ... according to the varNum variable value.


I'll really appreciate some help!



Super User
Super User





If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Thanks for the answer!


let me expose my problem maybe you will be able to help me out:


I have a form like this:

For each question of the form, In the function OnChange you can see that I set my 2 variables: VarNonQuestionNumber (and I but this variable in the Default property) and VarNum for the number of the question.



And when people clic "Non" in the drop down; the function OnChange gets me in another page:



When people clic on the "X" Icon to quit this page, I want the dropdown to take the Empty value (""). Thats why I have to set a different variable name each time..


That's why I am creating a new variable for each question; so that if they clic the "X" to exit the page, it only updates the value of the last question..


I hope I was clear, and if you have any idea to do it an other way I would appreciate!


Thanks for your time



Helpful resources

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,937)