Forum Discussion
karo
Advocate V
3 years agoMissing DatasetId for Paginated Reports (Get-PowerBIReport)
Hi, Do you know why Get-PowerBIReport does not providing DatasetId for Paginated Reports? Regards, Karo
karo
Advocate V
3 years agoI am trying to get the full list of all Power BI Reports (including Paginated) with corresponding DatasetId, but for all Paginated Reports DatasetId is blank.
AmosHersch
Microsoft Employee
3 years agoHi karo ,
A paginated report doesn't neccessarily have a dataset. It has data sources, and one or more of them can be of type "Power BI Dataset".
You can call an API to get the pagintated report's data sources, and filter the response according to the type.
Reports - Get Datasources - REST API (Power BI Power BI REST APIs) | Microsoft Learn
- karo3 years ago
Advocate V
AmosHersch thanks for a hint. I will try.
Even if not all Paginated reports have Dataset, I would expect to see DatasetId for those where it exists ... and it is not a case