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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
mak
Helper I
Helper I

How to add more tables from database

When creating my desktop file, I selected few tables, now since its working good, I would like to add more tables

 

? How to add more tables to the project from the datasource already selected

2 ACCEPTED SOLUTIONS
Phil_Seamark
Microsoft Employee
Microsoft Employee

There are two modes for getting data into Power BI Desktop.  

 

1) Import

2) Direct Query

 

You can't mix and match, so all queries need to be 1) or all 2).

 

There are pros and cons to both.  If your dataset is small then I'd recomment Import.  If your dataset is large (and frequently changing) then perhaps Direct Query is better - particulary if your source is MS SQL or SSAS


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

Anonymous
Not applicable

Hi @mak,

In DirectQuery mode, all tables should come from same database. If you add tables of different database into the current Power BI Desktop file, you will get the above warning which indicates that you can switch to import mode.

 

Thanks,
Lydia Zhang

View solution in original post

6 REPLIES 6
Phil_Seamark
Microsoft Employee
Microsoft Employee

In Power BI desktop, just click the Get Data button on the Home ribbon and add your new query/table as a data source.

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

When I click on GetData or Recent datasource and click on teh Table, it is allowing me to import data, but is saying, that I need to use it as an Import rather than direct query

Screen Shot 2017-02-14 at 6.08.22 PM.png

 

 

Anonymous
Not applicable

Hi @mak,

In DirectQuery mode, all tables should come from same database. If you add tables of different database into the current Power BI Desktop file, you will get the above warning which indicates that you can switch to import mode.

 

Thanks,
Lydia Zhang

Hi

 

The problem was more with how you defined the Azure query string, your Azure SQL url should be well qualified and begin with

tcp:yourdb.database.windows.net;1433

 

that resolved the issue

Anonymous
Not applicable

Hey mak,  Do you ever get the feeling that these 'helpers' on such forums just paste in answers to questions that you DIDN'T ask?....  Cuz they don't know the answer you need. ;-(

Phil_Seamark
Microsoft Employee
Microsoft Employee

There are two modes for getting data into Power BI Desktop.  

 

1) Import

2) Direct Query

 

You can't mix and match, so all queries need to be 1) or all 2).

 

There are pros and cons to both.  If your dataset is small then I'd recomment Import.  If your dataset is large (and frequently changing) then perhaps Direct Query is better - particulary if your source is MS SQL or SSAS


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.