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:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,851 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,851 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard