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 Apps / AddColumns to collecti...
Power Apps
Unanswered

AddColumns to collection LookUp column

(0) ShareShare
ReportReport
Posted on by 97

Hi all,

 

I am trying to add a column to a collection. The source is dataverse. The Tables are:

- DelistingActions with lookup DelistingID to Delistings table

- Delistings with lookup ProductID to Products table

- Products

I want to add the column ProductBrandDescription to the collection.  Using the method as described below does not work unfortunatly.

 

Anyone knows how to solve this?

 

KR, Lars

 

 

Lars1990_1-1641904456484.png

 

 

 

ClearCollect(
 colOpenActions,
 AddColumns(
 Filter(
 DelistingActions,
 'Delisting Status' = [@'Delisting Status'].Doing && Delisting.DelistStatus <> 'DelistStatus (Delistings)'.Cancelled
 ), "ProductBrandDescription",
 LookUp(
 Delistings,
 DelistingID = Delisting.DelistingID,
 Product.ProductBrandDescription)
 )
)

 

I have the same question (0)
  • RishabBehl31 Profile Picture
    180 on at

    Hey @Lars1990 ,

     

    I think you might have followed the wrong approach here Delistings table doesn't have a "DelistingID" field that is why it might be giving that error.

     

    But if "DelistingID" is the name of the unique identifier field in the "Delisting" Table then that's good.

     

    Can you try with the below formula :

     

    ClearCollect
    (
    mysamplecollection,
    AddColumns(
    DelistingActions,
    "ProductDescription",
    LookUp(
    Delistings,
    Delisting = DelistingID.Delisting,
    Product.ProductDescription
    )
    )
    )
    

     

    You can replace the first parameter of the AddColumns function with what you've used since that is working fine.

     

    In the third parameter which is a lookup function while writing condition parameter I have used

     

    "Name of unique identifier field on Delisting Table" = "Column Name of Delisting Actions Table having lookup to delisting table"."Name of unique identifier field on Delisting Table"

     

    Hope this helps.

     

    Warmly,

     

    Rishab

     

    If this solves all good otherwise let me know what error you're facing?

     

    ----------------------------------------------------------------------------------------------------------------

    Thanks for taking my inputs. If you're digging into it, a Thumbs up is appreciated! Or if my suggestion solved your issue, please Accept it as a solution. This way everyone would be able to get the solution if they face a similar problem.

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard