Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Power Query connector valid ODBC connection before reuse

Our connector uses Odbc.DataSource. If a developer works long hours on a single report in Power BI Desktop, the ODBC connection may become dead, thus causing an error when Power BI Desktop executes a query over this dead connection.

 

I would suggest Power BI to validate the ODBC connection using 

SQLSetConnectAttr(conn, SQL_ATTR_CONNECTION_DEAD, ..) before executing a query. If it's dead, reallocate a new one.

Status: New