Skip to main content

Notifications

Power Automate - General Discussion
Answered

How to apply the lookup column value when formatting the column by JSON

(0) ShareShare
ReportReport
Posted on by 62

Hi Guys:

  I have a list with lookup value, the lookup source is product name, the lookup value is the column "Product Name:Mic Assembly", and if the Inspection Type is "Mic Assembly", I hope the Workstaion Qty will be "9" as shown in the "Product Name:Mic Assembly" column. 

  But the expression below can't get the value, could you help check the reason? "[$ProductName:MicAssembly.lookupValue]" may be a mistake, but I don't know how to correct it. 

york_0-1683279043433.png

 

  • Verified answer
    Expiscornovus Profile Picture
    Expiscornovus 31,113 on at
    Re: How to apply the lookup column value when formatting the column by JSON

    Hi @york,

     

    That is SharePoint Online column formatting, which is not directly related to Power Automate.

     

    That being said, make sure you use the internal name of the field in the column formatting formula. You can find that name in the list settings.

    https://elliskarim.com/2021/12/20/finding-the-internal-name-of-a-sharepoint-column/#method-1-column-settings

     

    Below is an example in my dev environment

     

    correctinternalfieldname.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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard