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

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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard