Skip to Content
Product Information

Connect to sap HANA Database from Microsoft power BI(Business Intelligence)

Introduction: For Building dashboards in Microsoft Power BI(Business Intelligence) tool  using Hana database as a source we need to enable the ODBC driver in the system to connect to Hana database. Please follow below steps to configure and build dashboards on Hana database(Calculation views)

 

Step 1 

Install HDB client software in system where you want to connect Hana Database. Hana client software enables the ODBC Driver as below. 

 

https://tools.hana.ondemand.com/#hanatools 

 

Type  odbc in windows search bar and click  ODBC data source 32/64 bit

ODBC

ODBC

Step 2:

Click add on dBase

Hana%20ODBC

Hana ODBC

Step 3:

Double click on HDBODBC

 

ODBC%20Config

ODBC Config

Enter below details and save the connection.

 

Host : Hana database host
Instance number  as example 00
And tenant database would be Hana system name

 

Step4: go to power BI and go to Hana database connection.

 

PBI-hana%20database

PBI-hana database

Enter username and password of SAP Hana Database

 

connection%20parameters

connection parameters

 

Conclusion: With following above steps We can connect to SAP Hana Database from Microsoft Power BI and we can use import or direct query connection to consume Hana calculation views or Hana reporting objects

 

Note: For Direct queries we need to configure certificate so that refresh of data can happen on the live

2 Comments
You must be Logged on to comment or reply to a post.
  • I enjoy working with Microsoft Power BI.This free program can recognize and connect to over 70 data sources. For example, xlsx, csv files, txt, data from SQL databases. It can also cleanse the data or process it and bring the entire million tablets to a single data model. Or you can define your own custom metrics that are used specifically in your company. By the way, I recently started using power bi integration with jira  . This gives me the ability to quickly export the data I need to build my models. Convenient, simple and fast

  • Hi Avinash,

     

    Power BI desktop not fetching all the HANA calculation views

     

    I successfully connected to the SAP HANA database from Power BI Desktop application, but Power BI desktop not showing all the content from the HANA. Any reason why and how this can be solved?

     

    Power Bi version - 2.93.981.0 64-bit (May 2021)