We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I want to set a max timeout for ODBC connection to 15 minutes.
I add another parameter like:
Source = Odbc.DataSource("dsn=Production", [HierarchicalNavigation=true], [Timeout=#duration(0, 0, 15, 0)])
But I get an error that I have more parameters than allowed. Why is there such an error? After all, it is allowed to set up to 5 parameters in this function Odbc.DataSource.
Solved! Go to Solution.
correct, "Timeout" is not a valid option.
Hi @Anonymous ,
Use "ConnectionTimeout" instead:
Source = Odbc.DataSource("dsn=Production", [HierarchicalNavigation=true, ConnectionTimeout=#duration(0, 0, 15, 0)])
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Too many square brackets.
Source = Odbc.DataSource("dsn=Production", [HierarchicalNavigation=true, Timeout=#duration(0, 0, 15, 0)])
Hi @Anonymous ,
Use "ConnectionTimeout" instead:
Source = Odbc.DataSource("dsn=Production", [HierarchicalNavigation=true, ConnectionTimeout=#duration(0, 0, 15, 0)])
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |