Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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!
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |