简体   繁体   English

PowerShell PowerBI cmdlet 查找链接/共享数据集

[英]PowerShell PowerBI cmdlets find Linked/Shared DataSets

My reports uses a PowerBI DataSet as a Datasource.我的报告使用 PowerBI 数据集作为数据源。 Is there a way with PowerShell to find what Linked/Shared dataset this is. PowerShell 有没有办法找到这是什么链接/共享数据集。 Get-PowerBIDatasource nor Get-PowerBIDataSet does list them... Get-PowerBIDatasource 和 Get-PowerBIDataSet 确实列出了它们......

Kr, Harry克鲁,哈里

Get-PowerBIReport will tell you the Id of the dataset in DatasetId property (also take a look at the raw REST API ). Get-PowerBIReport将在DatasetId 属性中告诉您数据集的 ID(另请查看原始 REST API )。 You can't tell directly is it shared or not - you must enumerate all report and get the DatasetIds used to decide are there datasets used in more than one report.您无法直接判断它是否共享 - 您必须枚举所有报告并获取用于确定多个报告中是否使用数据集的 DatasetId。 You can also use Get-PowerBIDataset and compare the name of the report and the name of the dataset.您还可以使用Get-PowerBIDataset并比较报表名称和数据集名称。 If they are different, then most likely this dataset is shared between repots.如果它们不同,则很可能此数据集在报告之间共享。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM