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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Microsoft SQL: Execution Timeout Expired

Hi

I am getting Sql Timeout exception on report refresh. This is failing only on server. On Desktop things are running fine

Exception: Failure details: Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

I tried to update connection timeout from power Bi desktop and published the same but somehow power BI service is running  only for 20 minutes. How can I update the connection timeout on server.Please let me know if I am missing anything.

 

This is how I updated the connection threshold.

 

kusgupta_0-1657794343012.jpeg

 

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

Hi @Anonymous ,

 

The timeout of SQL command can be modified from SQL Server itself or tools like SSMS, but from Power BI, you could only change it from the SQL connector dialog. In Power BI service(app.powerbi.com), there isn’t an option to do the same setting. And the timeout specified in the connector will overwrite the setting timeout in the SQL database for the generated queries from Power BI service. Here is a similar issue: Solved: "Microsoft SQL: Execution Timeout Expired - Microsoft Power BI Community.

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous ,

 

The timeout of SQL command can be modified from SQL Server itself or tools like SSMS, but from Power BI, you could only change it from the SQL connector dialog. In Power BI service(app.powerbi.com), there isn’t an option to do the same setting. And the timeout specified in the connector will overwrite the setting timeout in the SQL database for the generated queries from Power BI service. Here is a similar issue: Solved: "Microsoft SQL: Execution Timeout Expired - Microsoft Power BI Community.

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

lbendlin
Super User
Super User

These timeouts are different from each other

 

Connection Timeout:  How long it takes to negotiate entry into the source system (authentication, authorization)

Execution Timeout: How long it takes from the start of the query to the moment when the first data is spooled back 

 

You can set both timeouts in the Power Query script.

 

In addition your data source (SQL server) will have its own limits. Talk to your DBA about these.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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