Power BI とオンプレミスデータゲートウェイの設定

To connect to and visualize your SAP Business One data in the Power BI service through the CData Cloud Hub, install the on-premises data gateway, add a data source to the gateway from the Power BI service, and publish a dataset from Power BI Desktop to the service.

オンプレミスデータゲートウェイをインストールする

The Microsoft on-premises data gateway provides secure data transfer between connected data sources and various cloud-based Microsoft tools and platforms.You can read more about the gateway in the Microsoft documentation.

You can download and install the gateway from the Power BI service:

Log in to PowerBI.com

Click the Download menu and click Data Gateway

Follow the instructions for installation, making note of the name of the gateway

Power BI サービスにデータソースとしてSAP Business One を追加

Once you have installed the data gateway, you add the Cloud Hub as a data source to the Power BI service:

Log in to PowerBI.com

Click the Settings menu and click "Manage gateways"

Click "ADD DATA SOURCE" and configure the connection to the Cloud Hub:

Set Data Source Name CloudHub_SAPBusinessOne

Choose SQL Server as the Data Source Type

Set Server to the address of your Cloud Hub instance (i.e.: myinstance.cdatacloud.net)

Set Database to the name of your virtual SAP Business One database (i.e.: sapbusinessonedb)

Set Authentication Method to Basic

Set Username and Password to Cloud Hub credentials

Power BI Desktop からデータセットを公開する

With the gateway installed and the Cloud Hub added as a datasource to the Power BI service, you can publish a dataset from Power BI Desktop to the service.

Open Power BI, click Get Data -> More, then select SQL Server database, and click Connect.

Set the connection properties and click OK.

Set Server to the address of your Cloud Hub instance (i.e.: myinstance.cdatacloud.net)

Set Database to the name of your virtual SAP Business One database (i.e.: sapbusinessonedb)

Set Data Connectivity mode to DirectQuery*

* DirectQuery enables live query processing and real-time visualizations of SAP Business One data.

In the authentication wizard, select Database, set the User name and Password properties, and click Connect.

Select the table(s) to visualize in the Navigator dialog.

In the Query Editor, you can customize your dataset by filtering, sorting, and summarizing SAP Business One columns.Click Edit to open the query editor.Right-click a row to filter the rows.Right-click a column header to perform actions like the following:

Change column data types

Remove a column

Group by columns

Power BI detects each column's data type from the SAP Business One metadata reported by the Cloud Hub.

Power BI records your modifications to the query in the Applied Steps section, adjusting the underlying data retrieval query that is executed to the remote SAP Business One data.When you click Close and Apply, Power BI executes the data retrieval query.

Otherwise, click Load to pull the data into Power BI.

Define any relationships between the selected entities on the Relationships tab.

Click Publish (from the Home menu) and select a Workspace.

Power BI Service のSAP Business One Data にレポートとダッシュボードを作成する

Now that you have published a dataset to the Power BI service, you can create new reports and dashboards based on the published data:

Log in to PowerBI.com

Click Workspaces and select a workspace

Click Create and select Report

Select the published dataset for the report

Choose fields and visualizations to add to your report

クラウドアプリケーションからSAP Business One Data へのSQL アクセス

Now you have a direct connection to live SAP Business One data from the Power BI service.You can create more data sources and new visualizations, build reports, and more — all without replicating SAP Business One data.

To get SQL data access to 100+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, see the CData Cloud Hub.