web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to use variable in...
Power Automate
Answered

How to use variable inside of variable?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello I have an URL like this %'www.dsfsdfsfsfefe%fsd23/fds34%/sfasdf'%

and I want to use variable inside of URL and I can't figure out how to do this.

 

What I want is something like this %'www.dsfsdfsfsfefe%fsd23/fds34%/%variable%'%

 

%'www.dsfsdfsfsfefe%fsd23/fds34%/variable'% => this doesn't work

 

Can you tell me how to this? 

 

Thank you

  • Verified answer
    VJR Profile Picture
    7,635 on at

    Use double percent sign as below

     

    %'www.dsfsdfsfsfefe%fsd23/fds34'%%InputValue%%%

     

    Reposition the single quote where you need it.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That worked perfectly. Thank you so much!!!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    How would you approach when you want to variable list?

     

    %['a'%%var1%%', b'%%var2%%]% 

     

    This doesn't work

  • VJR Profile Picture
    7,635 on at

    This time it will be without the quotes because there are already the surrounding quotes at the beginning and end.

    %[InputValue1, InputValue2]%

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    But what if I want to append the variable to text??

  • VJR Profile Picture
    7,635 on at

    Use a separate Set variable action to first append the text and the variable and pass that resulting variable into the list creation Set variable.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Right!! You are genius!! I appreciate your help 🙂

  • Businessclaud Profile Picture
    2 on at
    1. I have the same problem. The solution provided (to be specific the double %% ) does not work. In my case i have a FULL URL with page no variable %page% stored in excel and on power interface i have a variable called URLPATH. I had to solve this by splitting each URL into 2 columns and then appending the two pieces with the right variable in the middle

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard