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.
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
Solved! Go to 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!
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.
in the editor you have the option to keep TOP N rows
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |