Skip to main content

Notifications

Community site session details

Community site session details

Session Id : QhMO9k+/jNdzJULK95DF1P
Power Automate - Power Automate Desktop
Answered

Get Value from list via index stored in variable (Power Automate Desktop)

Like (0) ShareShare
ReportReport
Posted on 23 Apr 2022 09:33:04 by

I have been coding for awhile and noticed that I cannot get a item from a list if the index is stored in a variable. I would need some help urgently

 

This is my set up : 

 

%Listname[%Index_Variable%]%

 

I would require assistance urgently

  • Community Power Platform Member Profile Picture
    on 23 Apr 2022 at 16:35:52
    Re: Get Value from list via index stored in variable (Power Automate Desktop)

    Shanks , im kind of a noob in power automate , i just started picking it up and there isn't a lot of tutorials going around about using it

  • Verified answer
    Pstork1 Profile Picture
    66,185 Most Valuable Professional on 23 Apr 2022 at 13:37:03
    Re: Get Value from list via index stored in variable (Power Automate Desktop)

    To provide a bit of explanation for @Zave correct answer. When using a variable inside a variable you can use just the name.  One set of '%' signs around the outside will designate that it is a variable.  To use it as text instead of a variable name put singe quotes around the text.  See here in the documentation.

    Variable manipulation and the % notation - Power Automate | Microsoft Docs

  • Verified answer
    Zave Profile Picture
    88 on 23 Apr 2022 at 12:54:27
    Re: Get Value from list via index stored in variable (Power Automate Desktop)

    Hello,

    Try it like this:

    %Listname[Index_Variable]%

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 48 Super User 2025 Season 1

#2
Nived_Nambiar Profile Picture

Nived_Nambiar 18 Super User 2025 Season 1

#3
CU12050101-0 Profile Picture

CU12050101-0 12

Overall leaderboard
Loading started
Loading complete