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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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