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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.