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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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