【Power BI and SAP Hana】How Power BI connect SAP Hana

When We refer the Microsoft Official document to connect with SAP hana using Power BI desktop,

https://docs.microsoft.com/en-us/power-bi/desktop-sap-hana

I found we need to download a SAP HANA CLIENT for Windows computers first. But the official document didnot provide the most accurate link.see below for the direct link.

2, Download the SAP Client software(Need registration)

https://www.sap.com/developer/trials-downloads/additional-downloads/sap-hana-client-software-packages-12950.html

3,The issue encountered when install SAP hana Client

下载后的文件如下:

Extract 后如下,点击hdbsetup 进行安装

【Power BI and SAP Hana】How Power BI connect SAP Hana_第1张图片

 

【Power BI and SAP Hana】How Power BI connect SAP Hana_第2张图片

Cannot install

  Cannot install Microsoft C/C++ Runtime

    Starting external program C:\Users\syluo\Desktop\SAP BW\5 Power BI with SAP Hana\rclient120_win64\client\msdev2015_vcredist_x64.exe

      Command line is: "C:\Users\syluo\Desktop\SAP BW\5 Power BI with SAP Hana\rclient120_win64\client\msdev2015_vcredist_x64.exe" /q

      Program terminated with exit code 1638

 

第一次Google 后的结果是说,没有Microsoft visual C++ Redistribution, 于是下载了最新的redist 安装包, ,安装后还是继续报上面的错误,再一次google, 参考如下文章说是The server already has Visual C++ 2017 installed. 

https://apps.support.sap.com/sap/support/knowledge/preview/en/2710293

而且从下面的文章里说https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3c15e264-026c-4a44-af90-13c870ee4d2f/install-error-installing-microsoft-visual-c-2015-redistributable?forum=SQLServer2016Preview

Error 1638 means another version of the product is already installed as mentioned by Aaron Stebner on the following thread:

http://blogs.msdn.com/b/astebner/archive/2006/08/23/715755.aspx?PageIndex=3#comments

于是果断在Control panel 里删掉了新安装的Microsoft Visual C++ 2013, 2015

然后换一种SAP hana 的安装方式,这个时候很快(1min)安装成功。

【Power BI and SAP Hana】How Power BI connect SAP Hana_第3张图片

SAP hana Client 安装成功后,从Power BI desktop端选择SAP hana database 时 界面是这样的:【Power BI and SAP Hana】How Power BI connect SAP Hana_第4张图片

没安装SAP hana client 之前界面是这样的:

【Power BI and SAP Hana】How Power BI connect SAP Hana_第5张图片

 

你可能感兴趣的:(【Power BI and SAP Hana】How Power BI connect SAP Hana)