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
Tom_Li
Frequent Visitor

Only load 100 rows in load mode

Hi Experts,

 

I am using PowerBI desktop to load data from Azure SQL with import mode. My SQL table is really big, after I enter server IP, user and password, it seems PowerBI wants to load all the data from SQL table. It takes a long time to wait for system response.

 

Is there any way to set a limitation on it, only take first 1000 rows, and this setting only effective at desktop. After I publish the report to PowerBI service, the dataset on PowerBI service can still get all the data from source system.

 

Tom Li

1 ACCEPTED SOLUTION

the first time you can let it refresh and you publish it and then i assume you want to set up a scheduled refreshed sometimes during non working hours?

 


 


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


Proud to be a Datanaut!  

View solution in original post

7 REPLIES 7
LivioLanzo
Solution Sage
Solution Sage

@Tom_Li

 

You can limit the number of rows returned with Power Query, if query folding is happening then an SQL TOP 1000 statement is sent back to the server. YOu can then update the query right before publishing it to the service. 

 

 

 


 


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


Proud to be a Datanaut!  

@LivioLanzo, thanks for your quick reply.

Would you please guide me how to do such setting at power query? Would you please explain in details?

Thanks.

 

@Tom_Li

 

in the editor you have the option to keep TOP N rows

 

 

2018-11-13_8-30-36.jpg

 


 


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


Proud to be a Datanaut!  

@LivioLanzo, thanks for your suggestion, I found such Top N setting, I set N as 100 and finish my report.

Another problem is, before I publish report, I removed above setting, but when I click publish button, system asked me if I need to apply this change or not.

I clicked apply later, then the Top N setting still works at PowerBI server.

If I clicked apply button, then I need to wait for a long time because PowerBI desktop tring to download all data from database.

I am tring to find a solution to only apply changes but not refresh data. 😞

the first time you can let it refresh and you publish it and then i assume you want to set up a scheduled refreshed sometimes during non working hours?

 


 


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


Proud to be a Datanaut!  

@LivioLanzo, Thanks.

Your understanding is correct, and I think I need to let it refresh at desktop and do a schedule at Power BI Service.

It is the solution so far. Thanks.

Hi @Tom_Li

 

It seems you've got the answer,right? If so, please accept the reply as solution, that way, other community members will easily find the solution when they get same issue.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.