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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
170323003
Helper I
Helper I

Tables from different SQL databases

Hi!

 

I would like to know if it is possible to add a table to the file im using that is from a SQL database different then the one im using. They have ralationship tho!

 

TY

3 REPLIES 3
v-xuding-msft
Community Support
Community Support

Hi @170323003 ,

 

Do you make sense? Do you connect tables that from different database successfully? If you think the answers are helpful, can you please accept them as solution? More people who have the same question will benefit from your thread. Thanks in advance!

 

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
edhans
Community Champion
Community Champion

You can without any trouble.

However, if you want Query Folding to work, you will need to create a view in Database 1 to the table you need from Database 2, then connect to that view in DB1. Query Folding will not work with multiple databases. This can impact efficiency and break issues with Direct Query if you are doing that.

 

But if none of that is important, absolutely, that is what the M in Power Query language is for - Mashup. Combine tables from databases, files, spreadsheets, SharePoint, etc all in one big model!



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Mariusz
Community Champion
Community Champion

Hi @170323003 

 

Sure, you can add and mix multiple data sources.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.