共享数据集的生成权限Build permission for shared datasets

在 Power BI Desktop 中创建报表时,该报表中的数据将存储在“数据模型”中。When you create a report in Power BI Desktop, the data in that report is stored in a data model . 将报表发布到 Power BI 服务时,也会将数据发布为数据集。When you publish your reports to the Power BI service, you're also publishing the data as a dataset . 你可以向其他人提供该报表的生成权限,以便他们能够发现和重复使用你所共享的数据集。You can give others Build permission for that report, so they can discover and reuse the dataset you've shared. 本文介绍如何使用生成权限来控制对数据的访问。This article explains how you control access to the data by using the Build permission.

生成权限适用于数据集。Build permission applies to datasets. 为用户提供生成权限后,他们可以在数据集上生成报表、仪表板、问答的固定磁贴和 Insights 发现等新内容。When you give users Build permission, they can build new content on your dataset, such as reports, dashboards, pinned tiles from Q&A, and Insights Discovery.

用户还需要生成权限才能在 Power BI 之外处理该数据 :Users also need Build permissions to work with the data outside Power BI:

  • 导出基础数据。To export the underlying data.
  • 在数据集上生成新内容,例如使用在 Excel 中分析To build new content on the dataset such as with Analyze in Excel.
  • 通过 XMLA 终结点访问数据。To access the data via the XMLA endpoint.

提供生成权限的方式Ways to give Build permission

可以通过多种不同的方式为数据集提供生成权限:You give Build permission for a dataset in a few different ways:

  • 至少具有“参与者”角色的工作区的成员自动拥有该工作区中的数据集的“生成”权限以及复制报表的权限。Members of a workspace with at least a Contributor role automatically have Build permission for datasets in that workspace, and permission to copy a report. 详细了解新工作区中的角色Read more about roles in the new workspaces.

  • 数据集所在的工作区中的成员可以在“权限中心”将权限分配给特定用户或安全组。Members of the workspace where the dataset resides can assign the permission to specific users or security groups in the Permission center. 如果你是工作区的成员,请选择数据集旁边的“更多选项”(...) >“管理权限” 。If you're a member of the workspace, select More options (...) next to a dataset > Manage Permissions .

    选择省略号

    此操作将打开该数据集的“权限中心”,你可以在其中设置和更改权限。That opens the Permission center for that dataset, where you can set and change permissions.

    权限中心

  • 数据集所在的工作区中的管理员或成员可以在应用发布期间决定,具有应用权限的用户也可以获得底层数据集的生成权限。An admin or member of the workspace where the dataset resides can decide during app publishing that users with permission for the app also get Build permission for the underlying datasets. 有关详细信息,请参阅共享数据集See Share a dataset for details.

  • 假设你在数据集上具有重新共享和生成权限。Say you have Reshare and Build permission on a dataset. 共享基于该数据集生成的报表或仪表板时,你可以指定收件人也可以获得底层数据集的生成权限。When you share a report or dashboard built on that dataset, you can specify that the recipients also get Build permission for the underlying dataset.

    生成权限

你可以删除个人拥有的数据集生成权限。You can remove a person's Build permission for a dataset. 如果你删除,他们仍然可以查看基于共享数据集的报表,但不能再进行编辑。If you do, they can still see the report built on the shared dataset, but they can no longer edit it. 有关详细信息,请参阅下一部分。See the next section for details.

删除数据集的生成权限Remove Build permission for a dataset

有时可能需要删除共享数据集的某些用户的生成权限。At some point, you may need to remove Build permission for some users of a shared dataset.

  1. 在工作区中,转到“数据集”列表页。In a workspace, go to the Datasets list page.

  2. 选择数据集旁边的“更多选项”(...) >“管理权限” 。Select More options (...) next to the dataset > Manage permission .

    管理权限

  3. 选择名称旁边的“更多选项”(...) >“删除生成” 。Select More options (...) next to a name > Remove build .

    删除生成权限

    他们仍然可以查看基于共享数据集生成的报表,但不能再进行编辑。They can still see the report built on the shared dataset, but they can no longer edit it.

删除应用中的数据集的生成权限Remove Build permission for a dataset in an app

假设你已将应用从工作区分发给一组人员。Say you've distributed an app from a workspace to a group of people. 稍后,你决定删除某些人员对应用的访问权限。Later, you decide to remove access to the app for some people. 删除对应用的访问权限不会自动删除其生成权限和重新共享权限。Removing their access to the app doesn't automatically remove their build and reshare permissions. 这是额外的步骤。That's an extra step.

  1. 在工作区列表页中,选择“更新应用”。In a workspace list page, select Update app .

    更新应用

  2. 在“权限”选项卡上,选择“X”以删除人员或组。On the Permissions tab, select the X to delete the person or group.

    选择“X”

  3. 选择“更新应用”。Select Update app .

    你会看到一条消息,说明你需要转到“管理权限”,以便删除具有现有访问权限的用户的生成权限。You see a message explaining that you need to go to Manage permissions to remove Build permission for users with existing access.

    管理权限消息

  4. 选择“更新”。Select Update .

  5. 在工作区中,转到“数据集”列表页。In the workspace, go to the Datasets list page.

  6. 选择数据集旁边的“更多选项”(...) >“管理权限” 。Select More options (...) next to the dataset > Manage permission .

    管理权限

  7. 选择名称旁边的“更多选项”(...) >“删除生成” 。Select More options (...) next to their name > Remove build .

    删除生成权限

    他们仍然可以查看基于共享数据集生成的报表,但不能再进行编辑。They can still see the report built on the shared dataset, but they can no longer edit it.

更细粒度的权限More granular permissions

Power BI 在 2019 年 6 月引入了生成权限,将其作为现有权限(读取和重新共享)的补充。Power BI introduced Build permission in June 2019 as a complement to the existing permissions, Read and Reshare. 已在当时通过应用权限、共享或工作区访问获得数据集读取权限的用户也都获得了上述数据集的生成权限。All users who already had Read permission for datasets via app permissions, sharing, or workspace access at that time also got Build permission for those same datasets. 他们自动获得了生成权限,因为他们可以凭借读取权限来使用“在 Excel 中分析”或“导出”在数据集上生成新内容。They got Build permission automatically because Read permission already granted them the right to build new content on top of the dataset, by using Analyze in Excel or Export.

凭借这个更细粒度的生成权限,你可以选择仅可查看现有报表或仪表板中内容的人选,和可创建与底层数据集相连内容的人选。With this more granular Build permission, you can choose who can only view the content in the existing report or dashboard and who can create content connected to the underlying datasets.

如果数据集工作区之外的报表在使用你的数据集,则你无法删除该数据集。If your dataset is being used by a report outside the dataset workspace, you can't delete that dataset. 而是会看到一条错误消息。Instead, you see an error message.

你可以删除生成权限。You can remove Build permission. 如果删除,权限遭到撤消的人员仍可查看报表,但无法再编辑报表和导出基础数据。If you do, the people whose permissions you have revoked can still see the report, but can no longer edit the report or export underlying data. 具有只读权限的用户仍可导出汇总数据。Users with only read permission can still export summarized data.

后续步骤Next steps