capabilities.work

Clone a Report and Rebind It to Another Dataset

A 4-step recipe with Power BI. We can help you get access.

Recipe · 4 steps

Clone a Report and Rebind It to Another Dataset

with Power BI · Analytics & BI Management

Promote a report by cloning it and rebinding it to a target dataset.

  1. Read the source report to capture its name, type, and the dataset it is currently bound to, so the promotion can be compared against a baseline.
  2. Clone the report into the target workspace. The clone initially inherits the source report's dataset binding unless a target model is supplied.
  3. Explicitly rebind the clone to the target dataset. The call returns 200 with no body, so the new binding is confirmed by reading the report back.
  4. Read the cloned report back and confirm its datasetId now matches the target dataset, then capture the embed URL for the promoted report.
What you'll need to have ready
  • reportId: The identifier of the source report to clone.
  • cloneName: The display name to give the cloned report.
  • targetDatasetId: The identifier of the dataset the clone should be bound to.
  • targetWorkspaceId: The identifier of the workspace to clone into. Omit to clone into the same workspace as the source report.
For your developer

Arazzo workflow power-bi:report-clone-rebind, 4 operations: getReport → cloneReport → rebindReport → getReport. Specs on APIs.io.