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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!