Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all,
I have to connnect to a SAP HANA database. Despite there is a SAP HANA connector which - apart form some limittions - seems to work properly, I have been told to connect using SAP ODBC driver.
Unfortunately, this does not work and I am getting error 1033 trying to connect
I have been in touch with some SAP consultant: we checked ODBC configuration and it looks good. They found a SAP note about this error. Here i report the relevant parts:
According to this note, this looks like a Power BI bug invoking the driver and/or building the connection string.
Questions:
1) Does anyhone know how to overcome this error and/or a workaround?
2) If it is truly a Power BI bug, how can I have this fixed?
Thank you in advance,
Gianfranco
Solved! Go to Solution.
Hi, @v-hashadapu, sorry for the delay.
It turned out that HANA ODBC driver seem not being able to do query folding and customer requests incremental refreshes on very huge fatct tables. So we opted to use Power BI SAP HANA connector, which explicitly supports query folding, at the cost of writing native queries.
Hi @Gianf , Could you please confirm whether the issue has been resolved through the support ticket with Microsoft? If so, we request that you share the resolution or any key insights in this thread to benefit other members of the community. We will proceed to close this thread as part of our follow-up process, .
Should you require further assistance in the future, we encourage you to create a new thread in the Microsoft Fabric Community Forum. Our team will be happy to assist you.
Thank you for your cooperation.
Hi, @v-hashadapu, sorry for the delay.
It turned out that HANA ODBC driver seem not being able to do query folding and customer requests incremental refreshes on very huge fatct tables. So we opted to use Power BI SAP HANA connector, which explicitly supports query folding, at the cost of writing native queries.
Hi @Gianf , hope you are doing well. may i know if you have raised the support ticket as suggested or if your issue's solved from the other suggestions given? If your issue's solved either way, please share the insights here and mark them or any other helpful response "Accept as Solution" so others with similar issues may find the solution easily.
Thank you.
Hi @Gianf
Thank you for reaching out microsoft fabric community forum.
If the issue still persists we recommend you to raise support ticket.
You can submit a ticket through the Microsoft Power BI Support Portal:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community
Thank you.
Hi @Gianf ,
This error (1033 ERROR WHILE PARSING PROTOCOL) usually means there’s a problem with how the ODBC connection string is being built or parsed by the SAP HANA ODBC driver. Based on your screenshot and the SAP note you shared, here are the most likely causes and solutions:
Test the ODBC DSN Outside Power BI
Build and Use a Manual Connection String
DRIVER={HDBODBC};SERVERNODE=yourserver:port;UID=youruser;PWD=yourpassword
Update Your ODBC Driver
Check for Power BI Updates
Test with Other Tools
If It’s Power BI Only
If you share your exact connection string (masking sensitive info), I can help review it for mistakes.
Hi @burakkaragoz;
than kyou for your super-quick answer. Here there are my feedbacks:
1) The "Test connection" in the ODBC control panel reports success
2) I am trying to build a manual connection string according to your example, but Power BI does not allow me:
Without specifiying UID & PWD I get a different error:
Looks like there is no server name (The empty quotes?) but this is not true. The server name I entered is the same we put in the ODBC configuration, and I assume it is correct (see #1 above)
3 & 4) Both ODBC driver and Power BI are already updated to the latest version
5) Unfortunately I am working on a customer VM, where there are no tools other than PBI and I am not allowed to install anything. have you any suggestion on how to perform this test, maybe with some portable tool I am not aware of?
Thank you
Gianfranco
@Gianf ,
Thanks for your detailed follow-up and screenshots. Here’s a breakdown based on your feedback:
1) ODBC Test Connection Succeeds, Power BI Fails:
This confirms the DSN and driver themselves are working—so the problem is specific to how Power BI is using them.
2) Manual Connection String & Credentials Issue:
3) “No server name” / Empty Quotes Issue:
4) Latest Drivers/Updates:
5) Customer VM, No Additional Installs Allowed:
A) Credentials Dialog in Power BI:
B) Double-check DSN Scope:
C) Minimal Connection String:
D) If you absolutely must test outside Power BI, but can’t install tools:
$conn = New-Object System.Data.Odbc.OdbcConnection $conn.ConnectionString = "DSN=DATASOURCE_PROD;Uid=youruser;Pwd=yourpass;" $conn.Open() Write-Host "Connection successful!" $conn.Close()
(Replace with your actual DSN name and credentials.)
If none of these work and you can’t install anything else, you might need to collect all error logs and escalate to Microsoft as a Power BI ODBC bug/compatibility issue.
Let me know if you’re able to try these steps, or if you can share any additional error details from Power BI’s log files (found under %LOCALAPPDATA%\Microsoft\Power BI Desktop\AnalysisServicesWorkspaces). I’m happy to help review those as well!
Hi @burakkaragoz
here I am back with the results:
1) Connection string without credentials:
Asking for credentials...
No joy 😞
2) Data source is System DSN, confirmed.
3) Blank connection string (actually 1st thing tested)
Back to error 1033
4) Test connection via Powershell
Failure 😞 error 1033
I am not able to run Power Bi as an administrator - I don't have the required privileges.
I am not able to locate any Power Bi logs under the folder you pointed; here it is the folder contents:
The FlightRecorder<etc> file is a binary one and unreadable. the msmdsrv.log file looks like it contains no useful information
I don't know how to collect other logs, I would be very happy if you could point me the right direction, thansk!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |