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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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