Connect Business performance analytics data to Microsoft Fabric (preview)
Business performance analytics enables organizations to extend their existing data warehouse by using Microsoft Fabric shortcuts to connect the Business performance analytics dimensional data model to it.
Business performance analytics uses Dataverse direct integration with Fabric and provides the following benefits:
- You don't have to export data, build data pipelines, or use third-party integration tools.
- You don't have to transform the data in the star schema. Business performance analytics does this transformation for you.
- Shortcuts from Business performance analytics directly to OneLake enable data to stay in Dataverse while authorized users work with data in Fabric.
As part of this capability, Business performance analytics generates an enterprise-ready lakehouse, a SQL analytics endpoint, and a default semantic model (Power BI dataset) for your organization's Business performance analytics dimensional data. Data analysts, data engineers, and database administrators can then more easily combine Business performance analytics data with data that's present in OneLake by using Spark, Python, or SQL.
As data is updated, changes are automatically reflected in your lakehouse.
Prerequisites
Before you install Fabric and use it with business performance analytics, the following prerequisites must be completed:
You must have a Power BI premium capacity license or Fabric capacity. For more information, see Link your Dataverse environment to Microsoft Fabric and unlock deep insights for the list of premium capacity Power BI SKUs. When setting up a Fabric workspace, this translates to a Pro, Trial, or Premium per-user capacity.
The workspace that's linked to Dataverse must be assigned to premium or Fabric capacity in the same region as your Business performance analytics Dataverse environment. If you create a new workspace, you must have access to Power BI or Fabric premium capacity in the same region as your Dataverse environment. To confirm that you have access to the required premium capacity, follow these steps:
- In Power BI, open the workspace.
- Select Workspace settings > Premium.
- Confirm that Trial or Premium is selected as the capacity.
Your Dataverse environment must be linked to a Fabric tenant. In Power BI, go to Power BI settings > Manage connections and gateways, and verify that your environment has an established connection. If your environment isn't linked, follow these steps to link it:
Go to Power BI settings > Manage connections and gateways.
Select New, and then select Cloud.
In the Connection type field, select Dataverse.
In the Environment domain field, enter the environment URL of the environment where Business performance analytics is installed. You can find the environment URL on the Environment details page in Power Platform admin center.
Note
The environment URL that you enter should not start with "https://" or end with a slash (/). Delete these elements if they are included.
In the Authentication method field, select OAuth2.0.
Select Edit credentials, and complete authentication.
In the Encrypted connection field, select Encrypted.
In the Privacy level field, select Organizational.
Select Create.
Link Business performance analytics data to the organization's Fabric workspace
To link Business performance analytics data to your organization's Fabric workspace, follow these steps.
In Business performance analytics, select the Administration tab.
Go to Link with Microsoft Fabric, and select Manage.
Select Link Fabric.
Specify the Fabric workspace ID to create the lake shortcut for the Business performance analytics dimensional model. Confirm that the workspace is linked to your Business performance analytics Dataverse environment.
Note
The workspace must be in the same Azure region as the Dataverse environment.
Select Connect.
The creation of Fabric shortcuts takes a few minutes. After the shortcuts are created, the Fabric status value is Created. If the shortcuts aren't created, the value is Failed. In this case, repeat steps 3 through 5 to try again.
After the Fabric status value is Created, select View in Microsoft Fabric to go to the linked lakehouse in your Fabric workspace.
You should now be able to access Business performance analytics dimensional model tables via shortcuts in your Fabric workspace.
Note
No updates or deletions on the dimensional model tables are permitted from the Fabric workspace.
The lakehouse, an SQL analytics endpoint, and a default semantic model are created, and Business performance analytics tables are linked to the lakehouse via shortcuts.
Before you share the data with others, you can secure it in the Fabric workspace.
The lakehouse, SQL endpoint, and Power BI dataset are updated with new data as changes occur in Dataverse.
When a new Business performance analytics update is released, it might contain new tables or new columns in the Business performance analytics dimensional model. (This type of change is known as a metadata change.) To make Fabric reflect the changes, in Business performance analytics, select the Administration tab, go to Connect with Microsoft Fabric, select Manage, and then select Refresh Fabric tables. You might have to review the report and the downstream data flows to ensure that they aren't affected by the changes.
If you no longer need the shortcuts, select Unlink on the Manage page in Business performance analytics. The link from the Fabric workspace to your Dataverse environment is removed. When you unlink Business performance analytics data from the Fabric workspace, the Fabric lakehouse, SQL analytics endpoint, and default semantic model are removed.
Important
Business performance analytics manages the shortcuts. Don't delete or remove them directly in Fabric.
Extend the Business performance analytics dataset with your own data sources
This section shows how you can create a custom Power BI dataset that extends the Business performance analytics dataset with your own data sources. This functionality lets you use the Business performance analytics dataset as part of your own reporting capabilities in Power BI. In this way, you can create more comprehensive and tailored reports that harness the power of Business performance analytics and your own customized business insights.
Publish the Business performance analytics dataset in Power BI Desktop to Fabric
Note
Before you begin this procedure, you must link Business performance analytics data to your Fabric workspace as described earlier in this article.
Download the Business performance analytics dataset.
- Sign in to Power Apps.
- Go to All, and search for the msdyn_BpaReports solution.
Select the finance and operations dataset.
On the report details page, select Actions > Download report. Make a note of the download location.
Upload the Business performance analytics dataset.
- In Power BI, open your workspace, and upload the Business performance analytics dataset from the location that you downloaded it to in step 3.
Connect the dataset to the lakehouse.
- In the workspace, under the lakehouse, find the SQL Analytics Endpoint, and copy the SQL connection string.
- In the semantic model, go to Settings > Parameters, and enter the connection string.
- Reload the page, and re-enter the credentials.
Validate the connection.
- Refresh the settings, and edit the data source credentials to ensure that OAuth is used for authentication.
- Refresh the dataset to view the tables from Business performance analytics.
Use the Business performance analytics dataset in Power BI Desktop
In Power BI Desktop, open the downloaded .pbix file, and select Transform data > Edit Parameters.
In the workspace, under the lakehouse, find the SQL Analytics Endpoint, and copy the SQL connection string.
Enter the SQL connection string as CDSOrgURL.
Select OK, and do a refresh.
Follow any authentication prompts that appear. Sign in as the same user who published the Business performance analytics dataset to Fabric.
Validate that data is being refreshed from the dataset. You receive an initial notification that the refresh is in progress. You then receive a notification that indicates whether the refresh was successful or unsuccessful.
You now have a dataset that you can extend so that it includes other data sources. You can also create new measures on it.
To includes other data sources in your Fabric workspace, find the second lakehouse that you want to include in the custom dataset, and then find the SQL analytics endpoint that is nested under it. Select the ellipsis (…) next to the name of the endpoint, and then select Copy SQL connection string.
In Power BI Desktop, select Get data > SQL server.
When you're notified that a Direct Query connection is required, select Add a local model.
In the prompt that appears, select the entire dataset, and then select Submit.
When you're prompted for the server, enter the SQL Server connection string that you copied earlier.
Select Direct query, and then select OK.
Find the custom lakehouse that you added earlier, expand it, and select the tables to include.
Select Load.
When you're warned about the potential security risk, select OK.
You should notice that the new data is being loaded.
Select File > Save to save the new dataset as a PBIX file.
Note
Authentication issues: Ensure that you use OAuth 2.0 for authentication when you create connections.
Refresh delays: After each configuration, allow up to two minutes for the dataset or lakehouse to be refreshed.
If the dataset isn't loaded: Double-check the SQL connection string and parameters in Power BI and Business performance analytics.