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

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,189 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,189 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

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