March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hey All,
I keep getting an ORA-01013 error when refreshing some complex queries in POWERBI over Oracle DB.
When running the same query in some other SQL programs in the same PC (like PLSQL,TOAD) I get the result after 30 minutes , but still get the result, so I'm sure that it is not a server or client configuration issue.
I'm trying to find out where in POWER BI can I change this setting so I won't get the error.
I found another post that describe an optional solution for an ODBC connection, but what if I wish to work with the native Oracle connection ?
Anyone has knowledge about that ?
Thanks
Solved! Go to Solution.
Just found a solution for that.
Similar to the ODBC timeout configuration there is also a timeout setting for an Oracle connection (with slightly different syntax).
for example to set the timeout for 2 hours :
Source=Oracle.Database(server as text,CommandTimeout=#duration(0,2,0,0)) as table
Yes, you would do this in M-query, typically in one of the first lines
Hi! Where do you apply the settings for changing timeout? Is it M-script for the data source?
Just found a solution for that.
Similar to the ODBC timeout configuration there is also a timeout setting for an Oracle connection (with slightly different syntax).
for example to set the timeout for 2 hours :
Source=Oracle.Database(server as text,CommandTimeout=#duration(0,2,0,0)) as table
To change the timeout you can do in two ways
1. Go and Change in Advance Editor in Power Bi desktop in M-Script or In Applied step in Source by clicking the setting button under that in command timeout section.
where to update the Connection Timeout in PBIX? Check out the below link for screenshot.
https://quantawave.blogspot.com/2024/01/oracle-connection-request-timed-out.html
I am echoing @anitaberg's question below:
@BIXL
"Hi! Where do you apply the settings for changing timeout? Is it M-script for the data source?"
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |