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 / Expression Lookup Synt...
Power Automate
Answered

Expression Lookup Syntax - Populate Word

(1) ShareShare
ReportReport
Posted on by 218

Hi, the PK for my "company" table is Company_ID.  In that same table I have Company_Name.  For another table I'm using that's primarily filling my Word document is called "audit".  I have Company_ID in that table with a relationship with the "company" table.

 

What expression can I use to pull the Company_Name from the "company" table?

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @ez1138 

    Are you using CDS connector?

    Please add some screen shots of your flow.

     

  • ez1138 Profile Picture
    218 on at

    I don’t believe so.  My connections are “get rows (v2) for SQL server.

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @ez1138 ,

     

    You could refer to screenshot below to create the flow:

    1.png

     

    Best Regards,

    Alice

     

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

  • ez1138 Profile Picture
    218 on at

    Thanks for the reply.  I believe I added everything in although the last step for compose is asking for a variable of some sort.  Does an initiate or something need to be added before?

     

    powerautomate1.jpg

  • v-alzhan-msft Profile Picture
    on at

    Hi @ez1138 ,

     

    Your flow in wrong for you have Apply to each added one more.

     

    Best Regards,

    Alice

     

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

  • ez1138 Profile Picture
    218 on at

    Hi, thanks for the reply.  I removed the extra "apple to each".  For the "compose", would I need an "initiate" called "Company_Name"?

  • v-alzhan-msft Profile Picture
    on at

    Hi @ez1138 ,

     

    You could create the variable outside the Apply to each.

     

    Best Regards,

    Alice

     

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

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard