Rebind reports using a composite model (same workspace)
If you linked your process in your Test environment to a workspace (for example, WkSpace B) that's the same as the one used for the process in your Dev environment (for example, WkSpace A), follow the steps in this article.
Attach a workspace to your process
In the Environments dropdown menu at the top of the screen, select your Test environment.
On the navigation pane to the left, select Process mining.
If your process was newly copied over to the Test environment, there's an exclamation mark inside a speech bubble on the process. This mark indicates that the process was imported.
Select the process, and then select Confirm.
If you newly imported the process, continue to step 5. If you didn't newly import the process, go to step 6.
Select the same workspace for this process by following these steps:
In the Power BI workspace dropdown menu, select the same workspace as the previous workspace.
In the Report Name field, enter a different report name from your previous report name.
Important
The report name must be different from your previous report name.
To continue setting up the process, select Continue.
(If you didn't newly import the process) Attach a custom Power BI workspace to the process:
Go to the process details page for the process.
On the Details card, select Edit.
From the Power BI workspace (optional) dropdown menu, select your WkSpace A Power BI workspace.
Provide a different report name from the name you used for the process in Dev environment.
Important
The report name must be different from the report name of the process in Dev environment.
Select Save > Continue.
From the command bar or in the report view, select Refresh data.
Sign in to Power BI.
Before you get started, ensure that the states of your reports, workspaces, and their lineages correspond to what's in the following sections.
State of your WkSpace A
Your WkSpace A should have the following entities:
Number | Description | Entity |
---|---|---|
1 | The original report of your process. | Report A |
2 | The original semantic model of your process. | Report_A_Dataset_206… |
3 | The updated report with the composite model. | Report A |
4 | The composite model. | Report A |
5 | The original report of the copied process. | Report B |
6 | The original semantic model of the copied process | Report_B_Dataset_206… |
The numbering corresponds with the numbering of entities in the following screenshot.
There are three (3) entities titled 'Report A'. You can differentiate them using their icons and their Refreshed timestamps:
The icon with the yellow bars represents the reports and the other icon is that of the composite model or semantic model.
The report with the same Refreshed timestamp as the composite model is the report of the composite model.
Your lineage view should look like the following screenshot:
Rebind the report in Power BI
Sign in to Power BI.
Navigate to your WkSpace A.
From the list of entities, select the three dots beside the composite model, and then select Download this file.
In Power BI desktop, open the downloaded file.
From the File menu, select Save as and give the report a new name such as Report B.
From the home tab, select Transform data > Data source settings. Notice the Direct Query connection in the Data source settings.
Select Change Source.
Search for and select the semantic model of the process that's in your Test environment. The semantic model is Report B_Dataset_206… and it should be in your WkSpace A.
Select Create.
When the Connect to your data message appears, select relevant tables, and then select Submit.
When the query changes are applied, select Close.
Save the report.
From the Home tab, select Publish.
Select your WkSpace A as the destination, and then choose Select.
When the publishing completes, go to your WkSpace A in Power BI to confirm the changes are applied.
The lineage view now shows the composite model.
Select the Report B that the composite model points to. It's the second red box in the previous image.
Select Open report.
The report looks like that of the composite model from WkSpace A with the Self Loop percentage in the report.