Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Suggested answer

Finding index position of a value in an array

Like (0) ShareShare
ReportReport
Posted on 28 Mar 2025 08:14:46 by 6
Hi, hopefully this will be easy to answer - even if it is a "this can't be done' response."
 
I have an array in PAD which contains twenty values, is there a function in PAD that allows me to get the index position of a particular value in said array. I know I could loop through the items and do it that way, I was simply hoping there was a 'nicer' way. 
 
 
Categories:
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,297 Super User 2025 Season 1 on 28 Mar 2025 at 08:37:03
    Finding index position of a value in an array
     
    We dont have any direct actions to do this.
     
    You can enable PowerFx while creating the flow and use Indexof() or you need to convert List(Array) to DataTable and use Find and Replace in datatable to achieve this .
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
    Thanks & Regards
    Vishnu Reddy

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,631 Most Valuable Professional

Leaderboard
Loading started