web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps Add Lookup ...
Power Apps
Unanswered

Power Apps Add Lookup column to the collection

(0) ShareShare
ReportReport
Posted on by 67

Hi Members,

 

I had a requirement in Power Apps to create a Lookup column for the Power Apps collection.

 

For example, I have created two different collections:

  1. col_ProductDetails
  2. col_ProductCategory

 

errorcol.jpg

 

Now, I need to add a lookup column as "Category" to the collection 1(col_ProductDetails) from the collection 2(col_ProductCategory).

 

So, I have tried the code below, but I am facing an error as shown below:

 

ClearCollect(
 colFinal,
 AddColumns(
 col_ProductDetails,
 "Category",
 LookUp(
 col_ProductCategory,
 'Product ID' = col_ProductDetails[@'Product ID'],
 Category
 )
 )
)

 

errorcol2.jpg

 

Can anyone please suggest how I can achieve this? Thanks in advance!

Categories:
  • VishalJhaveri Profile Picture
    1,169 Moderator on at
    'Column Name': {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id: dropdown.Selected.ID,
     Value: dropdown.Selected.Name
     }

    Refer this master blog to achieve all the main functionalities in Power Apps. :Master CRUD Operations in Power Apps : Part 4 (inkeysolutions.com)

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Hemashree ,

     

    There are some updates about AddColumns syntax, please try to remove double quotation marks around the column name.

    vmengmlimsft_0-1714025193932.png

     

     

    Best regards,

    Rimmon

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard