Power Automate Power BI Scheduled 报表无法从第二个数据模型(语义模型)读取数据

问题描述 投票:0回答:1

我的 Power BI 报表有来自两个不同工作区的两个数据源。 报告的第 1 部分渲染得很好,但是当我使用来自不同工作区的报告的第二个语义模型时。 Power Automate 无法呈现报告。

  • 报告第 1 部分:渲染良好(工作区 1)
  • 报告第 2 部分:错误(工作区 2)

enter image description here

powerbi power-automate
1个回答
0
投票

该问题已通过使用写入功率自动请求得到解决。在请求中传递正确的身份值。

enter image description here

正确的电源自动请求使用 RLS 的多个数据集:

Correct power automate Request for multiple dataset with RLS: 
{
    "host": {
        "connectionReferenceName": "shared_powerbi",
        "operationId": "InitiateExportToFileForPbiReports"
    },
    "parameters": {
        "groupid": "workspace GUID",
        "reportid": "workspace GUID",
        "ExportPayloadPowerBIReport/format": "PDF",
        "ExportPayloadPowerBIReport/PowerBIReportExportConfiguration/identities": [
            {
                "username": "[email protected]",
                "datasets": [
                    "dataset 1 guid",
                    "dataset 2 guid"
                ],
                "roles": [
                    "RLS ROLE 1",
                    "RLS ROLE 1"
                ]
            }
        ]
    }
}

© www.soinside.com 2019 - 2024. All rights reserved.