{"id":38565,"date":"2022-08-27T21:05:19","date_gmt":"2022-08-27T19:05:19","guid":{"rendered":"http:\/\/54.194.80.134.nip.io\/microsoft-power-bi-reporting-with-data-from-sap-bw\/"},"modified":"2022-09-27T14:59:54","modified_gmt":"2022-09-27T12:59:54","slug":"microsoft-power-bi-reporting-with-data-from-sap-bw","status":"publish","type":"post","link":"https:\/\/www.cubeserv.com\/en\/microsoft-power-bi-reporting-with-data-from-sap-bw\/","title":{"rendered":"Microsoft Power BI Reporting with data from SAP BW"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\tAs a self-service reporting tool, Microsoft Power BI offers many useful features for the quick and easy creation of graphical analyses and dashboards.\r\n\r\nThe integration into the Office 365 Suite also provides flexible deployment options.\r\n\r\nPower BI supports a variety of different data sources. Especially for companies that have SAP BW in use, however, the connection of this is in the foreground.\r\n\r\nThis blog post deals with the various options for connecting SAP BW to Microsoft Power BI.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t
The Power BI Architecture - Overview<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\tPower BI provides two different connection paths for accessing SAP BW – \/ SAP HANA – systems. In the first variant, the source data relevant for the reports is imported completely into Power BI. In the second, the source system is accessed directly; the report data is thus re-extracted at runtime.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tIn both cases, a so-called dataset is created during report generation and uploaded to the Power BI server.\r\n\r\nIn the case of the import solution, the underlying data is included in the dataset. In the case of direct data access, on the other hand, it only contains the metadata, such as the connection information, to establish the connection to the respective SAP BW \/ SAP HANA. The following figure shows the two types of connectivity schematically.\r\n\r\nWhile with the import variant the report requests can be served directly from the dataset, with “direct access” they are forwarded to the underlying SAP system; the report result is thus fed directly with current data.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\tFrom an architectural perspective, data provisioning in Power BI, when using direct access (via Direct Query), is based on the following principle:\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\r\n \t
Power BI creates a query to the on-premise data source and sends it, with encrypted credentials, to the Gateway Cloud Service.<\/li>\r\n \t
The Gateway Cloud Service parses the query and transmits the request to Power BI’s own message management service.<\/li>\r\n \t
The Azure Service Bus message management service manages the request queue and ultimately passes the requests to the on-premise Data Gateway.<\/li>\r\n \t
The on-premise Data Gateway decrypts the credentials and uses these credentials to connect to the respective SAP data source.<\/li>\r\n \t
The data query is executed in the source; the results are then returned to Power BI via the on-premise Data Gateway and Azure Service Bus, where they are used to update reports.<\/li>\r\n<\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t