Diese Seite ist nur auf Englisch verfügbar.

Power BI integration

This guide provides step-by-step instructions on creating a Power BI report using Power BI Desktop, uploading it to the cloud and registering it as an application in Smart Operations Toolkit.

Prerequisites

  1. Power BI Desktop installed on your machine.

  2. An Azure subscription.

  3. Access to Power BI Service (Power BI Pro).

  4. Module creation permissions in Smart Operations Toolkit.

Creating Power BI Report in Power BI Desktop using MQuery

Use MQuery as Data Source

  1. Launch Power BI Desktop on your machine.

  2. Go to Home > Get Data.

  3. Select Blank Query to open the Power Query Editor.

  4. In the Power Query Editor, go to Home > Advanced Editor.

  5. Enter your MQuery code in the Advanced Editor and click Done.

  6. Transform and shape your data as required using the Power Query Editor.

  7. Once done, click Close & Apply to load the data into Power BI.

Design Your Report

  1. Use the available fields to create visuals and design your report as needed.

  2. Save your report.

Uploading the Report to Power BI Service

  1. Open your web browser and go to Power BI Service.

  2. Sign in with your Power BI account credentials.

Upload the Report

  1. Click on Workspaces and select the workspace where you want to upload the report.

  2. Click New > Upload a file.

  3. Select Local File and choose the Power BI report (.pbix) file you saved earlier.

  4. Click Open to upload the file to the Power BI Service.

Register an Application in Azure Active Directory

Sign in to Azure Portal

  1. Go to the Azure Portal.

  2. Sign in with your Azure account credentials.

Register a new Azure application

  1. Navigate to Azure Active Directory > App registrations.

  2. Click on New registration.

  3. Enter a name for your application.

  4. Choose the supported account types (My Organization only).

  5. Click Register to create the application.

Get a Service Principal

  1. After registration, navigate to Certificates & secrets.

  2. Click on New client secret and enter a description and expiration period.

  3. Click Add and note down the client secret value. This is your service principal.

Grant API Permissions

  1. Go to API permissions in your registered application.

  2. Click Add a permission.

  3. Select Power BI Service and choose the necessary permissions (Dataset.ReadWrite.All and Report.ReadWrite.All).

  4. Click Add permissions.

  5. Ensure to Grant admin consent for the permissions.

Share the report with the Service Principal

  1. Go to the report in Power BI Service.

  2. Share the report with service principle(Display Name) and give admin access

Register with SOT

To register with Smart Operations Toolkit, the application has to be registered with Multi Tenant Access Control and Web Portal.

Multi Tenant Access Control registration

To register your application with Multi Tenant Access Control, please check out the Multi Tenant Access Control guide.

Web Portal registration

To register your application with Web Portal, please check out the Web Portal guide.

Edit this pageDiese Seite bearbeiten

Feedback on this pageFeedback zu dieser Seite