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 / Creating a Collection ...
Power Apps
Unanswered

Creating a Collection from multiple dataverse tables Lookup column.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, I am having a trouble creating a collection using dataverse lookup column.

 

I have 3 table.

1) customerlist

2) table_1

3) table_2

 

I have a column ”customer” in table_1 and table_2

this column is relating 1)customerlist.

mssss_0-1620964369177.png

 

I would like to create a append customer list form table_1 and table_2.

I only want to take column ”customer”.

 

This is my formula.

ClearCollect(col_customerlist,

 ShowColumns (table_1, "cr9d1_customer"));

Collect(col_customerlist,

 ShowColumns (table_2, "cr9d1_customer"));

 

Problem is, when I show this collection on gallery,

I cannot see a data created from table_2.

It seems there is a data but word do not appear.

I have change like “Thisitem.cr9d1_customer.name” or “Thisitem.cr9d1_customer.phone”..etc to see if there is a column I can see but shows nothing.

 

mssss_1-1620965386635.png

 

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Please try this formula:

    ClearCollect(col_customerlist,ForAll(table_1,ThisRecord.your LookUp column Name));
    Collect(col_customerlist,ForAll(table_2,ThisRecord.your LookUp column Name))

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     

    @v-xiaochen-msft 

    Thank you for your help.

     

    Still having problem. nothing changed.

    I switched table_1 and table_2 and tried but no change.

     

    mssss_1-1620982580764.png

     

     

    mssss_0-1620982449797.png

     

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

    Hi @Anonymous ,

     

    It works for me.

    I have no other suggestions.

    Hope others can solve your problem.

     

    Best Regards,

    Wearsky

     

  • f_dossing Profile Picture
    12 on at

    If you have the relationship between the tables configured, you should be able to show the customer name, without doing anything else. What if you instead of creating the collection just point to the Gallery to the "table_1" table, and set the label to "ThisItem.Customer.Name"? Use the "Friendly" name of the column from the table_1.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard