The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
80 | |
66 | |
53 | |
52 |
User | Count |
---|---|
121 | |
116 | |
77 | |
64 | |
63 |