我的 Power BI 报表有来自两个不同工作区的两个数据源。 报告的第 1 部分渲染得很好,但是当我使用来自不同工作区的报告的第二个语义模型时。 Power Automate 无法呈现报告。
该问题已通过使用写入功率自动请求得到解决。在请求中传递正确的身份值。
正确的电源自动请求使用 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"
]
}
]
}
}