Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

get item from a filter

(0) ShareShare
ReportReport
Posted on by

Hi,

i have a loop inj which runs on an Owneres array, 

in the loop im filtering my excel dataset with filter array activity and i want to be able to retirve data from a field.

i tried to use item()['ID'] but getting error that ID is not selectable.

tried also to convert ID to integer but again it is not selectable as it is a string.

 

any ideas how can i select it?

error:

image.png

 

flow:

image.png

  • EP-29071004-0 Profile Picture
    on at
    Re: get item from a filter

    yes, i tried that, getting an error that ID is string and therefore cant be selected.

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: get item from a filter

    Hi @Perez 

     

    Were you able to try the recommendation that I have provided? 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • EP-29071004-0 Profile Picture
    on at
    Re: get item from a filter

    Hi @v-litu-msft , thanks for youe replyit is just a names array, to filter the AIs per each owner.

  • v-litu-msft Profile Picture
    on at
    Re: get item from a filter

    Hi @Perez,

     

    Could you please share an instance of the Per owner array?

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: get item from a filter

    Hi @Perez 

     

    You can try: 

     

    items('Per_Owner_loop')?['ID']

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • abm abm Profile Picture
    32,472 Most Valuable Professional on at
    Re: get item from a filter

    Hi @Perez 

     

    Believe your ID is numeric. You have couple of options here. 

     

    1. Declare a variable type integer. Assign the value and map.

    2. Use a compose action, assign the value and map the output.

    3. Try using an expression int to convert the string value to numeric.

     

    Thanks

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492