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 / 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,565 Super User 2026 Season 1 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
    16,298 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard