web
You’re offline. This is a read only version of the page.
close
Skip to main content
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:
I have the same question (0)
  • VishalJhaveri Profile Picture
    1,167 Moderator on at
    Re: Power Apps Add Lookup column to the collection
    '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
    on at
    Re: Power Apps Add Lookup column to the collection

    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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard