Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi BI family ,
I have a question about connecting to multiple databases. So I have a SQL query lot of joins to connect tables from 3 different databases so I can generate tables based on that . But I am trying to do visualization based on this in power bI. But I get to connect to only one database at a time . Is there a solution for this?
Hi, @Mbaktha91
Query Folding: Use Power Query in Power BI to connect to multiple databases. But remember, it doesn't support joining tables across different databases.
ETL Approach: Create a separate process to extract data from your databases, perform the joins, and load results into a consolidated database or data warehouse. Then, connect Power BI to this source.
Power BI Dataflows: Connect to multiple sources, transform data, and load into a common model. Useful for joining tables across databases, but has its own limitations.
Custom SQL Query: If connecting to a SQL Server database, use a custom SQL query to JOIN tables from different databases. Works only when databases are on the same SQL Server instance.
Helper document:
https://learn.microsoft.com/en-us/power-query/power-query-folding
https://community.fabric.microsoft.com/t5/Desktop/Custom-SQL-instead-of-table-or-view/m-p/96463
Proud to be a Super User!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 6 | |
| 5 |