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 / How to retrieve the va...
Power Automate
Unanswered

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)

Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at

    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

     

  • UweGrunewald Profile Picture
    56 on at

    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

  • CU22080239-4 Profile Picture
    on at

    Hello,

    Is it possible to share the thoughts? Thanks.

  • UweGrunewald Profile Picture
    56 on at

    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. 

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard