Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello community,
The dataset refresh if failing continuously due to SQL timeout error.However if refreshed manually the same dataset is getting refreshed correctly.
The error message is as follows :-
Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Can anyone suggest what am I missing here and what needs to be done to ensure smoothe scheduled refresh ?
Thanks.
Hi. By default SQL Server has a 10 minute window for a single query/table to refresh. You can increase that time at Power Bi Desktop. Open the file.pbix go to Power Query editor (Transform data menu). Check the first step of the biggest table or all the tables involved (as you wish). You can click the settings icon next to the source step and open de advanced settings or check the code turning on the formula bar.
The docs specify there is a commandTimeout window that you can increase:
https://learn.microsoft.com/en-us/powerquery-m/sql-database
The code would be something like:
= Sql.Database(Server_Name, Database_Name , [CommandTimeout = #duration(0,0,20,0)] )
For example that would be a duration of 20 minutes.
I hope that helps,
Happy to help!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 30 | |
| 29 | |
| 20 | |
| 16 | |
| 16 |