This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi Everyone
I am getting below error while refreshing one of my dashboard(For a single view) in both service and Dekstop. Datasource is Dedicated SQL Pool.
Data source error: [ValidateMarkupTags][ccon]DataSource.Error: Microsoft SQL: [ccon]Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.[/ccon]. DataSourceKind = [ccon]SQL[/ccon]. DataSourcePath = [ccon]XXXXXXXXX[/ccon]. Message = [ccon]Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.[/ccon]. ErrorCode = [ccon]-2146232060[/ccon]. Number = [ccon]-2[/ccon]. Class = [ccon]11[/ccon]. State = [ccon]0[/ccon]. [/ccon]. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action.
When I tried to execute the select query directly in the database using SSMS it runs for more than 20 mins and throws below error.
How should I approach this. As this is a Azure managed service I can't get deep into troubleshooting.
Thanks
Hi. By default the SQL Server or SQL sources have a timeout of 10 minutes. So if your query is taking longer, you need to increase that value or check if you can optimize the response from the BD.
In order to increase the timeout you can read the power query source step function like: https://learn.microsoft.com/en-us/powerquery-m/sql-database
The commandTimeout is the key parameter. If I'm correct, it's something like this:
Sql.Database(server as text, database as text, [CommandTimeout = #duration(0,0,30,0)] )
Duration it's configured for 30 minutes in that example.
I hope that helps,
Happy to help!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 27 | |
| 24 | |
| 22 | |
| 21 | |
| 21 |