Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
I have built a custom data connector to use Direct Query feature on Apache Kylin ODBC. Import working perfectly with ODBC but when I connect using Direct Query two problem I stuck after spend two days and narrowed down where the problem is -
1. HideNativeQuery = true results in loading preview and loading schema but after selecting the column it throws error "OLEDB or ODBC error: [Expression.Error] We could not fold the expression to the data source. Please try a simpler expression".
2. HideNativeQuery = false results in loading preview but failed in schema loading with error "OLE DB or ODBC error: [Expression.Error] We cannot convert the value NULL to type Table"
I am new to PBI trying to implement using the sample but stuck. Appreciate any help on this.
Thanks
Sudipta
Hi sdiptapaul,
Apache Kylin currently doesn’t support query on raw data yet, some queries might fail and cause some exceptions in application. Patch KYLIN-1075 is recommended to get better look of query result.
Power BI and Excel do not support “connect live” model for other ODBC driver yet, please pay attention when you query on huge dataset, it may pull too many data into your client which will take a while even fail at the end.
For more details, you can refer to: http://kylin.apache.org/docs23/tutorial/powerbi.html.
Regards,
Jimmy Tao
Thanks for the response and clarified the question I had. Does custome data connector supports live connect like SSAS for other ODBC providers?
Hi sdiptapaul,
Power BI has built-in connector which support connecting to SSAS. So you don't need to configure a customer ODBC driver for SSAS.
Conect to SSAS: https://docs.microsoft.com/en-us/power-bi/desktop-ssas-multidimensional
Regards,
Jimmy Tao
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 44 | |
| 40 | |
| 33 | |
| 30 | |
| 23 |
| User | Count |
|---|---|
| 125 | |
| 119 | |
| 90 | |
| 75 | |
| 69 |