Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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)
 )
)

 

  • RishabBehl31 Profile Picture
    180 on at
    Re: AddColumns to collection LookUp column

    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics