Forum Discussion
Anonymous
3 years agoNot applicable
Power BI API Get Paginated Datasource
I'm trying to find the power bi API that would allow me to see the dataset details of a paginated report. Basically i'm trying to use the API to look into the paginated reports (and pbix if that's po...
- Anonymous3 years ago
The export Report API appears to allow me to back into the RDL/XML code and tease the command text out of the source code. Doesn't work for pbix files that have been compressed however, so I'll have to keep digging for those
AmosHersch
3 years agoMicrosoft Employee
I believe you should try this API for a list of paginated report data sources
Reports - Get Datasources - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Martin_D
3 years agoSolution Sage
Indeed, the get datasources REST API works for normal and rdl (paginated) reports as well. I've tried. In PowerShell, use Invoke-PowerBIRestMethod. If the data source of your paginated report is a dataset, and you want to get the underlying SQL-Server, you need a subsequent call of Datasets - Get Datasources - REST API.