Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have one table from the Oracle database and the other one from the SQL database. Since these are 2 different databases, in "GET DATA" I need to choose 2 different connections like MYSQL & ODBC. I did that and got both the tables in Query editor as 2 separate tables as shown below.
Now I need to run an SQL code that should take these 2 tables as a reference and give me an output. Doing this in Power BI with so many joins, merges, and custom columns will slow down the auto-refresh. Hence looking out for a solution.
I am not sure, whether it is possible to reference 2 tables within 1 Power BI file and use them as a reference to write an SQL query and get desired output. Kindly help with your valued opinion on the possibility.
Regards, Ramnath
Hi @dramnath_1981,
You may want to create a linked server (see article below). An example is creating a linked server in a SQL Server database that points to an Oracle database. Then you can write SQL that will query tables in each database. You can use the OPENQUERY function in SQL Server to send PL/SQL to an Oracle database.
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
125 | |
108 | |
60 | |
55 |