Forum Discussion
Anonymous
9 years agoNot applicable
Import two tables from two DB as UNION
Hello
I want to compare data between two companies,
two companies are from two DB (same server, and the same structure) .
I want to import tables as UNION.
Is it possible and how?
Thanks
(In QLICK VIEW this is possible)
- Anonymous9 years ago
Thank you all
7 Replies
- sokg
Solution Supplier
Do you know the difference between merge and append?
- AnonymousNot applicable
did not know before, I read about MERGE, I did not find APPEND
1. Still if I write a query, I am in the DB environment of one company.
2. I also do not need the MATCHED, because I want all records, the only field that is changed is the company name.
The question is, how can I see the two tables togetherAnd thanks again
- AnonymousNot applicable
Thank you all
- TomMartens
Super User
It is also possible in Power BI
Before using Append to create one table with records from both tables create a custom column "Source" with values to mark the records with their source
- AnonymousNot applicable
Hello Tom
At first, I was looking for the MERGE in SQL, it was my mistake,
after that I found it in the help of POWER BI thanks to you.- TomMartens
Super User
You're welcome!