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 / Can't get a variable i...
Power Automate
Unanswered

Can't get a variable item from an array - Power automate Desktop

(0) ShareShare
ReportReport
Posted on by

Good morning,

I'm pretty new to power automate, and I was trying some stuff, but for some reason i can't get a item from an array.

I'm trying to get a array created by a split text, and displays the array correctly, but the moment of getting a certain item from a array it says "Parameter 'Value': Unexpected characters. Characters are used in the formula in an unexpected way.", using =TextList[1] or =%TextList[1]%

For instance, I tried even to search on learn.microsoft wiki on understand Variable manipulation such as to set an variable as "%5 * 3%" but it dosen't do any calculation. And on the action list (the left menu)

Screenshot 2024-02-07 163332.png

I don't find any "list" to add to my flow.

Any help would be appreciated.

I have the same question (0)
  • eetuRobo Profile Picture
    4,558 Super User 2026 Season 1 on at

    You should create new flow without Power Fx enabled. Its in preview and doesn't support many features or even if it does its not very easy to figure out how do them.

    eetuRobo_0-1707320857747.png

     

    In Power Fx you need to use equals sign to create variables:
    =[1,2,3]

    eetuRobo_1-1707321264859.png

     

     

  • KakaFernandez Profile Picture
    2 on at

    Hey there,

     

    I have Power Fx enabled and this should solve your issue: '=Index(TextList, 1)'

     

    As for my case:

    Picture.png

     

     

     

     

     

    If you have Power Fx enabled, some formulas you have to think of them as if you were using Excel. To retrieve an item from a list, in Excel you would use INDEX formula.

     

    Hope it helps 🙂

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 484

#2
11manish Profile Picture

11manish 282

#3
David_MA Profile Picture

David_MA 280 Super User 2026 Season 1

Last 30 days Overall leaderboard