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 / Full Outer Join Galler...
Power Apps
Unanswered

Full Outer Join Gallery Table

(1) ShareShare
ReportReport
Posted on by 41

Hi,
I want to merge my 2 tables into one Gallery list and i want the other value that has blank/different ID to be showed too (full join). I have this Dataverse table with >50+ column as table 1, and SharePoint list table with >40+ column as table 2. 

 

I already have tried this method on YouTube, but it makes my apps lagged so much and i can only do left join with those function.
https://www.youtube.com/watch?v=KeXLIzr-6e4&pp=ygUacG93ZXJhcHBzIG91dGVyIGpvaW4gdGFibGU%3D

Is there any way so that i can full outer join my tables other than using 'Add columns' function?

 

Thanks in advance

Categories:
I have the same question (0)
  • Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @Ezzyy798 ,

    There was a recent update for the table function where you can merge two tables together. Can you try:

    Table(Table1,Table2)
  • Ezzyy798 Profile Picture
    41 on at

    Thanks for the reply @Adrian_Celis

    Unfortunately, the result is not what I expect. It does get all the data in both tables, but because it didn't use any formula to join the same IDs, the table result is

    Header

    Table1

    Table2

    It only joins the tables in a gallery list, not the data

  • Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @Ezzyy798 ,

     

    Apologies as my SQL is rusty. If we try the full outer join then eventually we will be using the AddColumns function. Since your complaint is that it is very slow, perhaps it is because of the number of columns? If you only need a select number of columns, then have you already tried using DropColumns or ShowColumns function?

  • Ezzyy798 Profile Picture
    41 on at

    Hi @Adrian_Celis,

     

    I have tried using Add Columns function:

    AddColumns(Table1 As example, datajoin, LookUp(Table2, ID=ID))

    But it returns left join for Table 1 only.

     

    Do you think is there any way the function can return a full join data? If it's about the lagged when loading the data, i think I'll figure it out somehow.

  • Verified answer
    Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @Ezzyy798 

    Not sure yet if this is exactly what you are looking for:

    But I have 2 tables: Table1 and Table2

    Adrian_Celis_0-1720583221816.pngAdrian_Celis_1-1720583238306.png

     

    Then in Power Apps, insert a gallery and use this formula on the Items property:

     

     

    SortByColumns(
    Table(
    Filter(AddColumns(Table1 As CurrentItem,LookUpColumn,LookUp(Table2,TempID=CurrentItem.TempID)),IsBlank(LookUpColumn)),
    AddColumns(Table2 As CurrentItem,LookUpColumn,LookUp(Table1,TempID=CurrentItem.TempID))
    )
    ,"TempID")

     

    Adrian_Celis_0-1720585361662.png

     

    Is this what you are looking for or at least getting closer?

  • Ezzyy798 Profile Picture
    41 on at

    Sorry for the late reply,

    So, I have tried the formula above but it still doesn't work with large dataset. On the other hand, I have tried with small dataset and it works fine. I think I'll figure out a way to make it work in large dataset later. Your formula gives me a hint though.

     

    Thank you so much!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard