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 Apps
Unanswered

Join Table

(0) ShareShare
ReportReport
Posted on by 18

Hi all,

 

I have 2 sharepoint list as shown in below table1 and table2.

Is it possible to do a join that result in table3?

Thanks for the help in advance.

 

Capture.JPG

 

Regards

Hidayat

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Yatz ,

     

    I assume there are two tables:

    ClearCollect(
     Table1,
     {ID:1,Resource:"Driver 1",Remarks:"John"},
     {ID:2,Resource:"Driver 2",Remarks:"John1"},
     {ID:3,Resource:"Driver 3",Remarks:"John2"},
     {ID:4,Resource:"Driver 4",Remarks:"John3"},
     {ID:5,Resource:"Driver 5",Remarks:"John4"}
    );
    ClearCollect(
     Table2,
     {Resource:"Driver 1",'Booking Date':"1"},
     {Resource:"Driver 1",'Booking Date':"2"},
     {Resource:"Driver 5",'Booking Date':"3"}
    );

    Please try:

    ShowColumns(With(
    {TableA:ForAll(
     Table2,
     Patch(ThisRecord,LookUp(Table1,Resource=Table2[@Resource]))
    )},Ungroup(Table({Value:TableA},{Value:Filter(Table1,!(Resource in TableA.Resource))}),"Value")),"Resource","Booking Date")

    vbofengmsft_0-1674180193445.png

     

    Best Regards,

    Bof

  • HM-18111627-0 Profile Picture
    18 on at

    Thank you so much @BOF !!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 275

Last 30 days Overall leaderboard