This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I need to load a very large amount of data from a database, when I load a whole month the server times out. Therefore I would like to load every single day via a loop.
But what would such a loop look like? Do you have an example?
Hi @PWRBI
What is the database you are connecting to? For some databases, you can expand Advanced options and enter another value for command timeout to keep the connection open longer when querying data.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @PWRBI ,
I'm not sure this will work as you expect it will. Even if you apply a functional loop, or staged load, the server connection is going to remain open for the duration of the query refresh and, therefore, will likely be shut down by the server as before.
For this quantity of data, you should really be looking at using Direct Query and Aggregation tables:
https://dax.tips/2021/09/06/intro-to-power-bi-aggregations/
Pete
Proud to be a Datanaut!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |