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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Data Type with searchable property UNSEARCHABLE should be SEARCHABLE or ALL_EXCEP_LIKE

I got error message like "Data Type of column courseid with searchable property UNSEARCHABLE should be SEARCHABLE or ALL_EXCEPT_LIKE. You can override the supported data types from ODBC driver using SQLGetTypeInfo." when loading data from a table through Direct Query. The problem lies the Power BI does not call SQLGetTypeInfo at all. How can I set data type to SEARCHABLE  while Power BI does not call SQLAttributes/SQLGetTypeInfo, is there any other way?

 

Status: Needs Info
Comments
v-qiuyu-msft
Community Support

Hi @QIAO,

 

Which data source did you connect to? Did the error occur when you get data in Power BI desktop? 

 

Best Regards,
Qiuyun Yu

Vicky_Song
Impactful Individual
Status changed to: Needs Info
 
QIAO
Helper II

It happens when create a visual, and the data source is Athena which we connect through ODBC driver.

The problem lies in how to set data type to SEARCHABLE or POWER BI supports DIRECT QUERY through ODBC driver or not. One thing is sure that Power BI does not call SQLAttributes/SQLGetTypeInfo to get searchable data type as we can see in the log.

 

 

QIAO
Helper II

Does Power BI support Direct Query with ODBC driver??? or something hardcoded??

v-qiuyu-msft
Community Support

Hi @QIAO,

 

ODBC data source doesn't support DirectQuery, see: https://docs.microsoft.com/en-us/power-bi/desktop-directquery-data-sources

 

Also Power BI don't have SEARCHABLE data type as well. 

 

Best Regards,
Qiuyun Yu