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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.