Skip to content

Commit

Permalink
Merge pull request #12719 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
12/09/2024 PM Publish
  • Loading branch information
Emma-yxf authored Dec 9, 2024
2 parents 1e525a6 + ab12d4b commit 257d69a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
18 changes: 11 additions & 7 deletions powerbi-docs/developer/projects/projects-build-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ The following diagram illustrates the end-to-end scenario with two development w

>[!NOTE]
>
>In this example, the pipeline uses two open-source community tools that enable a developer to apply (customizable) best practice rules to the metadata of semantic models and reports within a Power BI Project folder:
> In this example, the pipeline uses two open-source community tools that enable a developer to apply (customizable) best practice rules to the metadata of semantic models and reports within a Power BI Project folder:
>
>* [Tabular Editor](https://github.com/TabularEditor/TabularEditor) and [Best Practice Rules](https://github.com/microsoft/Analysis-Services/tree/master/BestPracticeRules)
>* [PBI Inspector](https://github.com/NatVanG/PBI-Inspector)
> * [Tabular Editor](https://github.com/TabularEditor/TabularEditor) and [Best Practice Rules](https://github.com/microsoft/Analysis-Services/tree/master/BestPracticeRules)
> * [PBI Inspector](https://github.com/NatVanG/PBI-Inspector)
>
>An approach similar to the example in this article would apply to other community tools. This article doesn't delve into the specifics of the community tools mentioned previously nor rule creation and editing. For in-depth information on these topics, refer to the links provided. The focus of this article is on the *process* of establishing a quality gate between source control and Fabric Workspace. It's important to note that the referred community tools are developed by third-party contributors, and Microsoft does not offer support or documentation for them.
> An approach similar to the example in this article would apply to other community tools. This article doesn't delve into the specifics of the community tools, nor rule creation and editing. For in-depth information on these topics, refer to the links provided. The focus of this article is on the *process* of establishing a quality gate between source control and a Fabric Workspace. It's important to note that the referred community tools are developed by third-party contributors, and Microsoft doesn't offer support or documentation for them.
## Step 1 - Connect Fabric workspace to Azure DevOps

[Connect your Fabric workspace to Azure DevOps](/fabric/cicd/git-integration/git-get-started?tabs=commit-to-git#connect-a-workspace-to-an-azure-repo):

:::image type="content" source="./media/projects-build-pipelines/connect.png" alt-text="Screenshot showing the Git connection to DevOps.":::

When Fabric Git integration finishes exporting your workspace items, your Azure DevOps branch will contain a folder for each item in your workspace:
When Fabric Git integration finishes exporting your workspace items, your Azure DevOps branch contains a folder for each item in your workspace:

:::image type="content" source="./media/projects-build-pipelines/connected-branch.png" alt-text="Screenshot showing the Azure DevOps branch with folders for different workspace items.":::

Expand All @@ -68,7 +68,7 @@ To create a new pipeline:

:::image type="content" source="./media/projects-build-pipelines/create-pipeline.png" alt-text="Screenshot showing how to create a pipeline.":::

1. Select **Azure Repos Git** and select the first repository (the same repository that's connected to the Fabric workspace):
1. Select **Azure Repos Git** and select the first repository (the repository connected to the Fabric workspace):

:::image type="content" source="./media/projects-build-pipelines/code.png" alt-text="Screenshot showing Azure repo Git selected as the code source for the pipeline.":::

Expand Down Expand Up @@ -171,4 +171,8 @@ If there's a high-severity error in one of the rules, you can't finalize the pul

:::image type="content" source="./media/projects-build-pipelines/complete-pull-request.png" alt-text="Screenshot completed pull request.":::

Learn more about PBIP and Fabric Git Integration in [blog post](https://powerbi.microsoft.com/blog/deep-dive-into-power-bi-desktop-developer-mode-preview/).
## Related content

* For information about synchronizing your workspace with the Git branch, including updating your workspace and committing changes to Git, see [Get started with Git integration](/fabric/cicd/git-integration/git-get-started).

* For tips about different options for building CI/CD processes in Fabric based on common customer scenarios, see [Choose the best Fabric CI/CD workflow option for you](/fabric/cicd/manage-deployment).
14 changes: 12 additions & 2 deletions powerbi-docs/developer/projects/projects-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,20 @@ Example using `byConnection`:
"pbiModelVirtualServerName": "sobe_wowvirtualserver",
"pbiModelDatabaseName": "e244efd3-e253-4390-be28-6be45d9da47e",
"connectionType": "pbiServiceXmlaStyleLive",
"name": null
"name": "EntityDataSource"
}
}
}
```
When the semantic model and report share the same workspace, [Fabric Git Integration](/fabric/cicd/git-integration/intro-to-git-integration) always uses a `byPath` reference to the semantic model.
When the semantic model and report share the same workspace, [Fabric Git Integration](/fabric/cicd/git-integration/intro-to-git-integration) always uses a `byPath` reference to the semantic model. If you want to force the report to open in live connect (for example, to work with report-level measures), you can have multiple definition*.pbir files, such as one with a byPath connection and another with a byConnection connection. However, only the definition.pbir file is not ignored when importing the definition through Fabric Git.

```md
├── definition\
├── StaticResources\
├── .platform
├── definition-liveConnect.pbir
└── definition.pbir
```

This file also specifies the supported report definition formats through the 'version' property.

Expand Down Expand Up @@ -254,6 +262,8 @@ The report definition is stored inside the `definition\` folder with the followi
|reportExtensions.json |No |Report extensions, such as report level measures.<br/>More information at [schema](https://github.com/microsoft/json-schemas/tree/main/fabric/item/report/definition/reportExtension)
|report.json |Yes |Report metadata, such as report level filters and formatting.<br/>More information at [schema](https://github.com/microsoft/json-schemas/tree/main/fabric/item/report/definition/report)

> [!IMPORTANT]
> Some report metadata files, such as visual.json or bookmarks.json, may be saved with data values from your semantic model. For instance, if you apply a filter to a visual for the field 'Company' = 'Contoso', the value 'Contoso' will be persisted as part of the metadata. This also applies to other configurations like slicer selections, matrix custom columns width, and formatting for specific series.
#### PBIR naming convention

Expand Down

0 comments on commit 257d69a

Please sign in to comment.