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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
laciodrom_80
Helper IV
Helper IV

Import mode: an explanation about amount of data imported

Hi all,

 

I've got a doubt, probably the answer is simple but I'm not sure about it.

 

I would like to import only a subset of data from a SQL table, I wonder if there is some difference in terms of quantity of data imported between these two scenarios: 

  1. Using a SQL statement with an appropriate WHERE clause and import data from this statement;
  2. From Power Query, importing all SQL table data and then applying a filter statement. Looking at the Native Queries of each of these two steps I see a select * from table for the first step and a select * from table where... for the second step.

Is there any difference in terms of amount of data imported in the report between these two different approaches

 

Thanks a lot in advance!

Luca
1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @laciodrom_80 ,

The first connection does not support query folding, which is to import data after querying the database for the data you need to import, and the second supports query folding, which is to import all the data into Power BI and then filter the data you need, that is, the data after where.

refer:https://docs.microsoft.com/en-us/power-query/native-database-query 

https://support.microsoft.com/en-us/office/import-data-from-a-database-using-native-database-query-p...

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

Hi @laciodrom_80 ,

The first connection does not support query folding, which is to import data after querying the database for the data you need to import, and the second supports query folding, which is to import all the data into Power BI and then filter the data you need, that is, the data after where.

refer:https://docs.microsoft.com/en-us/power-query/native-database-query 

https://support.microsoft.com/en-us/office/import-data-from-a-database-using-native-database-query-p...

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

laciodrom_80
Helper IV
Helper IV

@amitchandak ok, but are the two scenarios identical in terms of amount of imported data ?

Luca
amitchandak
Super User
Super User

@laciodrom_80 , Based on what I got. That the second option is a power query parameter

In case you plan to control by power query parameter you can change that to increase or decrease the data

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.