Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to retrieve the value from a SharePoint-lists look-up column

(0) ShareShare
ReportReport
Posted on by 56

Hi there,

I am trying to retrieve the value of SharePoint-list column ("CompanyName") to fill it in a field of a word template (using Populate a Microsoft Word template). IMPORTANT: the columns is a "look-up column".

 

It does not fill the columns value but a number ('46').

 

Trying to use the "Compose" action and fill the result in the field reviels the following string:
{"@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference","Id":46,"Value":"My Companies Name"}

So the 'number 46' is whatever "Id".

 

My question: How do I extract the "Value" from the result of the compose action, which is the "CompanyName" I am looking for or are there other means to directly extract the value from a look-up column?

 

Any hints warm welcome. Best Uwe (still a PA novice)

  • UweGrunewald Profile Picture
    56 on at
    Re: How to retrieve the value from a SharePoint-lists look-up column

    What thought? on "CRM"? Its not forgotten, but I am still in the process of documentation. If you like, we can Teams-meeting and I will be happy to show, what I have in action so far. 

  • CU22080239-4 Profile Picture
    on at
    Re: How to retrieve the value from a SharePoint-lists look-up column

    Hello,

    Is it possible to share the thoughts? Thanks.

  • UweGrunewald Profile Picture
    56 on at
    Re: How to retrieve the value from a SharePoint-lists look-up column

    A million thx. Saved my Day. Yet learning with every step. Soon I may give thsi community something back. Buildimng a small CRM based on the entity relationship model. If someone is intereste, I am happy to share thoughts. Uwe

  • Verified answer
    David_MA Profile Picture
    11,489 Super User 2025 Season 1 on at
    Re: How to retrieve the value from a SharePoint-lists look-up column

    For lookup columns there are two fields that you can retrieve. The first is named the same as your column name, but there is an additional one with the same name but with "Value" at the end of it. As you have seen, just using the one with the column name returns the item ID. But, if you use the one with Value at the end, it will return the lookup value or "My Companies Name" in your example above.

     

    The screen shot below is from one of my lists where Request Number is a lookup column. At the bottom of the image is a corresponding field with Value as I described above.

     

    David_MA_0-1670872185015.png

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >