Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi
Can somebody please assist with syntax when adding a Command Timeout to the source of a (non-native) query imported table?
This is the code I am struggling to add the Command timeout to:
let
Source = #"SQL/servername;dbname",
SSAS_V_Income_Statement = Source{[Schema="SSAS",Item="V_Income_Statement"]}[Data]
in
SSAS_V_Income_Statement
I use the following code when adding the Command Timeout to the native query generated table and this works:
let
Source = Sql.Database("servername","dbname",[CommandTimeout=#duration(0, 2, 0, 0)]),
MyQuery =
Value.NativeQuery(
Source,
"
SELECT...... "
Hi @Anonymous ,
Check the similar thread below:
https://community.powerbi.com/t5/Desktop/How-to-set-command-timeout-option/m-p/487941
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
hi Kelly
Thank you for the response.
I tried using the SQL.DATABASES function/prefix, but that did not work.
So my problem remains adding the timeout to this part #"SQL/servername;dbname" ...
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |