Forum Discussion
Append two tables with different sizes
- 9 years ago
Thanks, I've figured out how appending works on Power BI desktop.
In fact, it is quite simple.
Thank you
I would do this in the Query Editor with Merge Queries
As to which type of Merge to use look here...
http://www.excelguru.ca/blog/2015/12/16/merge-tables-using-outer-joins-in-power-query/
and
http://www.excelguru.ca/blog/2015/12/23/merge-tables-using-inner-and-anti-joins-in-power-query/
Hope this helps! :smileyhappy:
Thanks, but I think I need to append and not merge. It seems the solution would be to harmonize the column names for both tables in the editor and then all columns will show in the appended table.
Then, I'll remove the ones I don't need.
Thanks anyway.
- v-sihou-msft9 years agoMicrosoft Employee
In Power BI Desktop, when using "Append Queries", if two tables have different number of columns, it will append all columns together and generate columns of blank values for the table with less columns. It's "CROSS" appending. If you want to do "INNER" appending. You have to copy Table2 and only keep 5 columns, then append with Table1.
Regards,
- webportal9 years agoImpactful Individual
Thanks, I've figured out how appending works on Power BI desktop.
In fact, it is quite simple.
Thank you
- Anonymous7 years agoNot applicable
Can you elaborate how you did this in BI? Thanks.