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.
Jimmy801
6 years agoCommunity Champion
Hello mr_oli
no, for sure not. This is just an example that everyone understands easily how it works. In your realy live example you have to substitute the tables with your real tables from Excel or any other datasource
Hope this helps
BR
Jimmy