cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User V
Super User V

Re: Tables from different SQL databases

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

 

Highlighted
Super User VI
Super User VI

Re: Tables from different SQL databases

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
Highlighted
Community Support
Community Support

Re: Tables from different SQL databases

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.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors