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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.