Forum Discussion
Missing DatasetId for Paginated Reports (Get-PowerBIReport)
Hi,
Do you know why Get-PowerBIReport does not providing DatasetId for Paginated Reports?
Regards,
Karo
4 Replies
- lbendlin
Super User
Because a report is different from a dataset? What are you trying to achieve?
- karo
Advocate V
I 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
Hi 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
- karo
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