Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Combine two databases

Hello,

 

Our ERP provider set up a custom model for us in PowerBI and I want to add more data to it. They broke it up into two databses, SQLDatabase1 and SQLDatabase2, coming from the same server. How do I combine the data into one model?

 

mrjason_0-1622638326578.png

Thank you

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Current power bi not support connect to multiple sql databases with directquery mode.

For detail information you can refer to below link:

Use DirectQuery in Power BI Desktop

You can try to use import mode and get the tables using dynamic parameters. Hope this link can help you:

https://www.red-gate.com/simple-talk/sql/bi/power-bi-introduction-working-with-parameters-in-power-b... 

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Current power bi not support connect to multiple sql databases with directquery mode.

For detail information you can refer to below link:

Use DirectQuery in Power BI Desktop

You can try to use import mode and get the tables using dynamic parameters. Hope this link can help you:

https://www.red-gate.com/simple-talk/sql/bi/power-bi-introduction-working-with-parameters-in-power-b... 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.