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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Efficient way to import tables in power bi from sql server

hello great people. What is the most efficient way to bring four tables from a database into Power BI? Should I first import the tables into Power BI and then perform joins? Or should I directly run an SQL script in Power BI to import data from a SQL server?

Appreciate your advice. Thanks

1 ACCEPTED SOLUTION
lucadelicio
Super User
Super User

Hi @Anonymous ,
i think there is no a perfect answer it depends.

You can use Direct Query or Import Mode to use the data in Pbi from sql.

Briefly with Direct Query you have the data connected in real time. But with big data is not good the performance.

Otherwise you can import the data (most use solution) into the model and connect the relationships between the tables.

I suggest to create a view on sql for every table that you need but only with the columns that you need and then import those in pbi model.

Better if you can to built a specific database as datawarehouse, create the specific view and connect it.

I hope i help you.



Luca D'Elicio

LinkedIn Profile

View solution in original post

2 REPLIES 2
lucadelicio
Super User
Super User

Hi @Anonymous ,
i think there is no a perfect answer it depends.

You can use Direct Query or Import Mode to use the data in Pbi from sql.

Briefly with Direct Query you have the data connected in real time. But with big data is not good the performance.

Otherwise you can import the data (most use solution) into the model and connect the relationships between the tables.

I suggest to create a view on sql for every table that you need but only with the columns that you need and then import those in pbi model.

Better if you can to built a specific database as datawarehouse, create the specific view and connect it.

I hope i help you.



Luca D'Elicio

LinkedIn Profile
Anonymous
Not applicable

Appreciate it. Thanks 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.