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 / Expenditure from for each
Power Automate
Unanswered

Expenditure from for each

(1) ShareShare
ReportReport
Posted on by 212

Hello all together

 

I have the action "get user profile" in a for each loop.

How do I get the output so that I can use it in other actions outside the "for each" loop?

 

Thank you

 

Patrick

Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @PatrickSched ,

     

    After you get the user profile, which will wrap itself in a for each loop, next add the action you want to perform.  Just like the email address column was available for your get user profile action, the other columns in Excel will also be available downstream for use.  

     

     

  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @PatrickSched ,

     

    To clarify, the values inside the apply to each (or for each) are only available inside the loop.

     

    Please describe what you are trying to do with the entire flow, that may be helpful.

     

     

  • PatrickSched Profile Picture
    212 on at

    hi @trice602 

     

    thank you vor your answer.

     

    The "problem" is that the flow is very complex and has numerous conditions. I can't put all the actions into the loop because I need them in different places. It would be an advantage if I could extract the information from the "for each" actions to use them elsewhere, but that's probably not possible, is it?

     

    Best regards

     

    Patrick 

  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @PatrickSched ,

     

    That's not recommended you and we have challenges making very difficult to implement (from my experience).  When you access a value from an upstream action and there is more than one value, it is going to be in a loop because for each record, do these steps.

     

    Again, my recommendation is to describe the entire flow what you are trying to accomplish and there are lots of people here that will help you and offer framework to accomplish.

     

    Without the flow description and intent, we're just guessing.

     

     

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard