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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

SQL Server timeout

When refreshing a dataset in the Power BI service i consistently encounter the folowing error after 20 minutes: 

"Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding."

 

This  timeout does not seem to be triggered on the sql server database, i expect this might relates to the command timeout settings in power bi desktop being blank.  I read that the defualt value here is 10 minutes, is this correct?  

And is there a way to see what portion of the refresh time is spend on  a particul source, knowing the dataset uses several sources.

 
 

2021-03-10 18_05_07-SQL Server database.png

 

 

 
 

 

1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi, @Anonymous 

If your connection lasts longer than 10 minutes(the default timeout), you can enter another value in Command timeout in minutes to keep the connection open longer.To find out which data source consume most refresh duration, you can use Performance Analyzer to help you check the duration of refresh. If the report is resided in Premium capacity, you can use Power BI Premium Capacity Metrics app to help you monitor key metrics.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? 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-cazheng-msft
Community Support
Community Support

Hi, @Anonymous 

If your connection lasts longer than 10 minutes(the default timeout), you can enter another value in Command timeout in minutes to keep the connection open longer.To find out which data source consume most refresh duration, you can use Performance Analyzer to help you check the duration of refresh. If the report is resided in Premium capacity, you can use Power BI Premium Capacity Metrics app to help you monitor key metrics.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

GilbertQ
Super User
Super User

Hi @Anonymous 

 

You can use the Command Timeout to ensure it runs for a longer period.

 

Here is a blog post explaining how to achieve this: Ensuring your Power BI Incremental Refresh does not Timeout when using a SQL Server Source - Reporting/Analytics Made easy with FourMoo and Power BI





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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.