![]() |
VOOZH | about |
The CData Power BI Connector for SAP HANA XS Advanced seamlessly integrates with the tools and wizards in Power BI, including the real-time data workflows on PowerBI.com. Follow the steps below to publish reports to PowerBI.com and use the Power BI Gateway to configure automatic refresh.
Installing the Power BI Connector creates a DSN (data source name) called CData Power BI SAP HANA XS Advanced. This the name of the DSN that Power BI uses to request a connection to the data source. Configure the DSN by filling in the required connection properties.
You can use the Microsoft ODBC Data Source Administrator to create a new DSN or configure (and rename) an existing DSN: From the Start menu, enter "ODBC Data Sources." Ensure that you run the version of the ODBC Administrator that corresponds to the bitness of your Power BI Desktop installation (32-bit or 64-bit).
SAP HANA XSA uses the OAuth authentication standard. Before connecting, it is necessary to establish an SAP HANA XSA OData Service. See the OAuth section in the Help documentation for a guide.
With the data source configured, follow the steps below to load data from SAP HANA XS Advanced tables into a dataset.
Use the Query Editor if you need more control over the query and query results before you load the data. Power BI detects the column behavior from the SAP HANA XS Advanced metadata retrieved by the CData connector. In the Query Editor, you can perform actions like filtering, summarizing, and sorting on columns.
To open the Query Editor, click Edit in the Navigator window. Right-click a row to filter the rows. Right-click a column header to perform actions like the following:
Power BI records your query modifications in the Applied Steps section, adjusting the underlying data retrieval query that is executed to the remote SAP HANA XS Advanced data.
When you click Load, the connector executes the underlying query to SAP HANA XS Advanced.
After loading SAP HANA XS Advanced data into Power BI, you can create data visualizations in the Report view by dragging fields from the Fields pane onto the canvas. Follow the steps below to create a pie chart:
You can change sort options by clicking the ellipsis (...) button for the chart. Options to select the sort column and change the sort order are displayed.
You can use both highlighting and filtering to focus on data. Filtering removes unfocused data from visualizations; highlighting dims unfocused data. You can highlight fields by clicking them:
π A highlighted account in a pie chart. (Salesforce is shown.)You can apply filters at the page level, at the report level, or to a single visualization by dragging fields onto the Filters pane. To filter on the field value, select one of the values that are displayed in the Filters pane.
π Accounts and Annual Revenue filtered by Industry. (Salesforce is shown.)Click Refresh to synchronize your report with any changes to the data.
Follow the steps below to configure automatic data refresh through the Power BI Gateway. The gateway enables the Power BI cloud service to connect to the DSN on your machine.
You need to select a gateway mode when you install the gateway:
Publishing through the gateway in personal mode simply requires an installed gateway with access to custom connectors.
Publishing through the gateway requires an installed gateway with access to customer connectors and a configured connection to the DSN for SAP HANA XS Advanced from PowerBI.com
Follow the steps below to configure the gateway on your machine:
In the Connectors step, choose a folder where the gateway will look for the CData Power BI Connector. This article uses C:\Users\PBIEgwService\Documents\Power BI Desktop\Custom Connectors\. Copy the .pqx files for the CData Connector (found in C:\Users\USERNAME\Documents\Power BI Desktop\Custom Connectors\) to the folder you configured.
NOTE: The account configured for the service (NT SERVICE\PBIEgwService) needs to be able to access the folder chosen for the gateway. If needed, you can change the service account in the Service Settings section of the gateway installer.
You can now publish refreshable reports and their underlying datasets. Follow the steps below to publish and complete the data refresh configuration for a dataset.
Refresh the dataset to provide the current data to your reports.
Download a free trial of the SAP HANA XS Advanced Power BI Connector to get started:
Download NowLearn more:
π SAP HANA XS Advanced IconThe fastest and easiest way to connect Power BI to SAP HANA XS Advanced data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.