web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How i can filter an Ar...
Power Automate
Unanswered

How i can filter an Array using Formula inside a Select action

(0) ShareShare
ReportReport
Posted on by 1,811 Super User 2024 Season 1
Inside Power Automate flow if i have a variable of type Array that stores ID-Title, as follow:-

[
"5-Open",
"9-Closed",
"3-With"
]



Now inside a Select action, which allow me to access the ID of a collection using:-

item()?['ID']

How i can get the title of the array item using the item()?['ID']? In other words how i can filter the array using formula? Can i benefit from XPath?

Thanks
Categories:
I have the same question (0)
  • Gyllentid Profile Picture
    894 on at
    I usually filter the array. Here you can use the item()?['ID']  (write this as an expression) as well. You can make three Filter arrays where you filter the with Contains Closed, With, and Open.
     
     
    Does this help you?
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
     
    Thanks for the reply. I know about the Filter array action,, but i want to filter the array inside the exsisting Select action,, so i need to filter it using formula.. i think this is possible using XPath

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard