The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
We are currently using Power BI in import mode with databricks. Every morning, my semantic model connects to databricks sql warehouse and import the datas. The databricks SQL warehouse is setup to auto stop after 5 minutes of inactivity.
According to my databricks colleague, after the refresh, the power bi connection to databricks stays active for 1 hour so the databricks can't stop.
I looked at the databricks connector in Power BI but I don't see anything that could help me like timeout or something else. Does any one has this problem or an idea to solve this ?
Regards,
Hi @nag_via
You can use the STARTMENT_TIMEOUT parameter. The configuration parameter sets a timeout value in seconds. Any Databricks SQL statement with a wall clock run time exceeding the value is timed out.
You can set this parameter at the session level using the SET statement and at the global level using SQL configuration parameters or SQL Warehouses API.
Set a timeout value in seconds between 0 and 172800 seconds (2 days). Any Databricks SQL statement that has a wall clock execution time exceeding the set value is halted.
Here is the link of the details:
STATEMENT_TIMEOUT - Azure Databricks - Databricks SQL | Microsoft Learn
If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
15 | |
14 | |
12 |
User | Count |
---|---|
110 | |
40 | |
25 | |
24 | |
19 |