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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Funky Variables on PAD
Power Automate
Answered

Funky Variables on PAD

(1) ShareShare
ReportReport
Posted on by 7
Hello guys, I'm having an issue with a basic flow to rename the first file in a folder(file list variable).
 
I've concluded that my PAD version might be buggy, since it represents all variables with "=variable" when clicked as opposed to "%variable" even though it returns an error for invalid character format when I use the default "=variable".
 
I tested my flow with both syntaxes and still haven't had any luck. Anyone experiencing the same issues?
I have the same question (0)
  • Verified answer
    eetuRobo Profile Picture
    4,393 Super User 2025 Season 2 on at
    I've concluded that my PAD version might be buggy, since it represents all variables with "=variable" when clicked as opposed to "%variable" even though it returns an error for invalid character format when I use the default "=variable".
     
    I don't think your PAD version is buggy. Its that you have chosen "Power fx enabled" flow instead of using regular non power fx flow.

     
    If you are new to PAD I recommend not using Power Fx enabled -flows since most tutorials, documentation and discussions are referring to the regular flow syntax and not power fx syntax. So create a new flow without Power Fx enabled. They use different syntax.

    Power Fx synax: =variable
    Regular flow syntax: %variable%

    To get the first file from a list variable:
    Regular flow you would use %variable[0]% so if the variable is
     

    Power Fx flow =First(variable)
    or =Index(variable,1)


    if you are still having trouble share screenshots of your flow and the error that you get
  • Verified answer
    trice602 Profile Picture
    15,886 Super User 2025 Season 2 on at
    Great reply!  I was going to reply with the exact same response.  
  • iniakanji Profile Picture
    7 on at
    I've clearly been away from Power Automate for some time. Thank you so much for this, it was greatly helpful.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 375 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 269 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 127 Most Valuable Professional

Last 30 days Overall leaderboard