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 / Converting Loop Index ...
Power Automate
Answered

Converting Loop Index to return text result

(0) ShareShare
ReportReport
Posted on by 22

how to have loopindex(in a Loop) to display the text result instead of index numbers

 

eg. instead of returning 0,1,2,3 and etc i want it to return .net, .net multiplatform app ui (.net Mau) and etc 

 

here is an example of a UI element i want it to be in

div[Id="report_doc-list"] > div > div > table > tbody > tr > td > span > a[Text="%LoopIndex%"]

 

s3135977_0-1679966171635.png

 

 

 

I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @s3135977 

     

    If you have extracted the data in datatable format, you can extract by row by row

     

    Else, if each data is in each row , then try this selector

     

    div[Id="report_doc-list"] > div > div > table > tbody > tr:eq(%LoopIndex%) > td > span > a

     

    Or if it did not worked , try this too 

     

    div[Id="report_doc-list"] > div > div > table > tbody > tr:eq(%LoopIndex%) > td > span

     

    Use get text action to get text from Ui element from either of these selectors (which work)

     

    Hope it helps 🙂

    Mark it as solution if it resolves your query 🙂

  • s3135977 Profile Picture
    22 on at

    Thanks first solution works!!

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Great !

     

    Have a nice day !

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard