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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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