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 / Cannot put output in a...
Power Automate
Answered

Cannot put output in an expression in an "apply to each" loop

(0) ShareShare
ReportReport
Posted on by 10

Hi there,

I can't seem to wrap an output from a previous block into an expression in an "apply to each" loop.

I have no problem putting the output alone, but embedded in an expression, I have no choice.

Can you help me ?

 

MathieuF_0-1665137079638.png

 

 

Thanks

Categories:
  • Expiscornovus Profile Picture
    33,997 Most Valuable Professional on at

    Hi @MathieuF,

     

    A workaround could be to add a Compose just before your Excel action and try and write your expression in there. If that works you can copy/paste it afterwards within your field in the expression tab.

  • MathieuF Profile Picture
    10 on at

    Hello @Expiscornovus ,

    exactly the same problem 😞

     

    MathieuF_1-1665388483773.png

     

     

  • Verified answer
    Expiscornovus Profile Picture
    33,997 Most Valuable Professional on at

    Hi @MathieuF,

     

    I see you are writing your expression in the dynamic content tab (contenu dynamique). Have you tried it in the expression tab instead?

     

    If that still does not work, you could try this workaround:

     

    1. Select your field first in the dynamic content tab.

    2. After that use the peek code feature in the settings of the action

    3. Copy the code reference of the field

    4. Go back to the action. Click into the Expression tab this time. Type replace() and copy past your field code reference within the parentheses.

     

     

  • MathieuF Profile Picture
    10 on at

    Thanks for your help, I tried that and it worked fine.
    Too bad it's not easier to implement.
    Mathieu

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard