Forum Discussion
mr_oli
6 years agoHelper I
Full outer join with three tables
Hello! I need your help 🙂 I want to join three tables into one with full outer join but to be honest I do not know how. First I decided that I will join table 1 and table 2 and after ...
- 6 years ago
Hi, mr_oli
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
You may try creating a calculated table as below.
Table = ADDCOLUMNS( DISTINCT( UNION( DISTINCT(Table1[Column1]), DISTINCT(Table2[Column1]), DISTINCT(Table3[Column1]) ) ), "Column2", MAXX( FILTER( Table1, Table1[Column1]=EARLIER(Table1[Column1]) ), [Column2] ), "Column3", MAXX( FILTER( Table2, Table2[Column1]=EARLIER(Table1[Column1]) ), [Column3] ), "Column4", MAXX( FILTER( Table3, Table3[Column1]=EARLIER(Table1[Column1]) ), [Column4] ) )Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mr_oli
6 years agoHelper I
Ok, that should be easy if I will have 3 rows in table
But what if I will have couple of thousand of rows? I will have to put every unique data in advanded editor?