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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Timeout Refresh errors azure sql sources; refresh time range 15 to 180 min? How to diagnose?

1) 2 pbix in powerbi service

2) refresh schedule at 12am and 2am when nothing is running on our azure sql instance

2a) refresh durations range from 17 minutes to 3 hours ; refresh failures range from 1 hr to 2 hrs over 13 days

3) all data sources in both are set to 3 hr timeout

4) desktop refreshes work

5) error ":{"type":1,"value":"Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding."}}],"exceptionCulprit":1}}} 

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

Firstly, if your dataset is too large,  it will fail to refresh until you filter the data model back down under 1 GB.

 

Secondly, you may improve the performance for the data model, see Power BI performance best practices , Power BI Performance Tips and Techniques.

 

In addition, you may specify appropriate value in “Command timeout in minutes (optional)" following steps below, then check if you can  refresh successfully in Power BI Desktop.

 

  1. Click on the arrow for "Edit Queries" in your current Power BI Desktop file, select "Data Source Settings” in the dropdown.

 

  1. Click on "Change Source..." in the Data source settings pop-up window.

 

  1. Click on Advanced Options in the pop-up window, enter 120 minutes in the "Command timeout in minutes (optional)" textbox, then click OK.

 

For example in the SQL Server connection page:

118.jpg

 

 

 

 

You may also refer to the article: SQL SERVER – Timeout expired. The timeout period elapsed prior to completion of the operation .

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

Firstly, if your dataset is too large,  it will fail to refresh until you filter the data model back down under 1 GB.

 

Secondly, you may improve the performance for the data model, see Power BI performance best practices , Power BI Performance Tips and Techniques.

 

In addition, you may specify appropriate value in “Command timeout in minutes (optional)" following steps below, then check if you can  refresh successfully in Power BI Desktop.

 

  1. Click on the arrow for "Edit Queries" in your current Power BI Desktop file, select "Data Source Settings” in the dropdown.

 

  1. Click on "Change Source..." in the Data source settings pop-up window.

 

  1. Click on Advanced Options in the pop-up window, enter 120 minutes in the "Command timeout in minutes (optional)" textbox, then click OK.

 

For example in the SQL Server connection page:

118.jpg

 

 

 

 

You may also refer to the article: SQL SERVER – Timeout expired. The timeout period elapsed prior to completion of the operation .

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Note that #3 only impacts the Connection timeout, there is currently no way to set the Command timeout in Power BI.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.