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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
SabineOussi
Skilled Sharer
Skilled Sharer

Command Timeout

Hello,

 

What is the default command timeout when connecting to an SQL server database query in Power BI Desktop?

I have a query that requires 20 minutes to run in SSMS but fails to run through Power BI because the timeout period elapsed.

 

Thank you.

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

Hi , @SabineOussi 

The default command timeout is 10 minutes.

For more details , please refer to this article about  Power Query M formula language :

url: https://docs.microsoft.com/en-us/powerquery-m/sql-database 

According to  you description, you can try to change the command timeout in Advanced options of  Data source settings directly.

9.png

 

Best Regards,
Community Support Team _ Eason
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

3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi , @SabineOussi 

The default command timeout is 10 minutes.

For more details , please refer to this article about  Power Query M formula language :

url: https://docs.microsoft.com/en-us/powerquery-m/sql-database 

According to  you description, you can try to change the command timeout in Advanced options of  Data source settings directly.

9.png

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

I always try changing the command timeout duration in the query where you noted, but it seems that this never works, it stil defaults to the 10 minute default timeout duration....anyone with the same issue?

SivaMani
Resident Rockstar
Resident Rockstar

@SabineOussi,

 

I couldn't find any document/information about the default timeout.
However, You will be able to overwrite the command timeout as mentioned here - 
https://community.powerbi.com/t5/Desktop/How-to-set-command-timeout-option/m-p/489726/highlight/true... 

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.