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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello, after updating to latest Power BI version when adding a SAP HANA datasource there is a ODBC Error when browsing cubes in Navigator window. Making it impossible to add a new HANA datasource.
This occures when trying to use Import method.
ODBC: ERROR [42000] [SAP AG][LIBODBCHDB DLL][HDBODBC] Syntax error or access violation;257 sql syntax error: incorrect syntax near "MDX": line 1 col 1 (at pos 1)
Simmilary if I connect with DirectQuery with "Threat SAP HANA as a relational source " unchecked I get same error
If "Threat SAP HANA as a relational source " is checked im able to add selected datasource.
Hello @mrkuk, I was facing the same error while connecting hana using DirectQuery.
So, I created a FUNCTION of the HANA query and have called the same function in the PowerQuery with a simple select statement. You can try to do that, it worked for me.
Anyone able to resolve this error? I am also getting this error when refreshing dataset via Gateway but able to refresh using Power BI Desktop. My report is also connected to Sap HANA DB. Pls help.
HI @mrkuk,
Can you please share more detailed information about your query? It seems like a common syntax error caused by odbc query.
Regards,
Xiaoxin Sheng
We have the same issue. Can somebody from Microsoft look into it and let us know, what is the resolution?
We have the same issue. I appreciate to let us know, if anybody has a solution for this?
We have the same issue.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.