Configuring Power BI to connect to a DataMosaix project
This section describes how to connect to your project using Power BI connector to create reports.
Prerequisites for Power BI Desktop
- Power BI Desktop application is installed.
- Access to FactoryTalk DataMosaix.
- Data Scientist role is assigned to create applications in FactoryTalk DataMosaix.
Configure the DataMosaix Power BI Connector
- Download the connector file (DataMosaix.mez) using this link if you have not done already.
- Copy the connector file (DataMosaix.mez) to the following location:Location DetailsUsersLocationPower BI Gateway Personal ModeC:\Users\<username>\Documents\Power BI Desktop\Custom ConnectorsPower BI Gateway Standard ModeC:\Users\Public\Documents\Power BI Desktop\Custom Connectors
- Go to Power BI DesktopOptions>Security>Data Extensions, and verify that the second option is selected, or else select it.
- Re-open the Power BI Desktop.Now the custom connectors can be selected on Power BI Desktop.
- Register the application using the Single Page Application type in FactoryTalk DataMosaix. For information on registering an application in FactoryTalk DataMosaix, refer to Register Application.NOTE:For registering Single Page Applications for Power BI, use https://oauth.powerbi.com/views/oauthredirect.html as the application URL (callback URL).NOTE:Note the generated client ID.
- In the Power BI Desktop application, navigate toGet Data>More....TheGet Datadialog box is displayed.
- In theGet Datadialog box, selectOther>FT DataMosaix (Beta).
- ClickConnect.The following dialog box is displayed.
- From theEnvironmentdrop-down list, select theprodenvironment. Also provide theApplication ID(Client ID), andProject Namedetails, and clickOK.Tip: For Application ID, use the Client ID generated while registering the application. Refer to the following screenshot:
- In theAuthenticationdialog box, selectOauth2and thenSign into DataMosaix with your credentials. You may need to authenticate if you are connecting to your project for the first time.
- ClickConnect.The Power BI Connector connects to the data source and displays the available data sources in theNavigatordialog box. You are now ready to work with Power BI reports.
Setting up Power BI Service using the Power BI Gateway
All the above steps for setting up Power BI Desktop are a pre-requisite for setting up a gateway connection.
- Install the Power BI data gateway (standard mode or personal mode) application in your system.Tip: Click here to download the Power BI on-premises data gateway.
- Open the Power BI data gateway (standard mode or personal mode) application.
- In the left menu, click theConnectorstab.
- In theLoad custom data connectors from the folderfield, provide the exact location of the downloaded connector file (DataMosaix.mez).
- ClickApply.
- In the dialog box, clickApply & Restartto apply the changes.After the restart, you will be able to see the updated connector file in the Connectors tab.
Automatic data refresh of reports in Power BI Service
Prerequisite:
- Power BI Gateway is installed, up and running.
Follow the instructions to publish report to a workspace on Power BI Service and perform the data refresh:
- In the Power BI Desktop application, navigate toHome>Publish.ThePublish to Power BIdialog box is displayed.
- Select the workspace from the list of workspaces.
- ClickSelectto publish.When publishing is complete, aPublishing to Power BIdialog box is displayed which allows you to navigate to your report on Power BI Service.Now your Power BI Service is ready to use with DataMosaix and Power BI Gateway. To learn more about data refresh, refer to Data refresh in Power BI.
Troubleshooting
If you have trouble signing in, refer Troubleshoot Power BI Desktop publishing to clear cache and to delete cached permissions.
Provide Feedback