Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
49 | |
28 | |
21 | |
20 | |
20 |
User | Count |
---|---|
52 | |
51 | |
27 | |
26 | |
21 |