This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I understand that we can embed individual visualizations, however getting a list of visuals on a report or report page is not straight-forward. This is the current workaround as I understand it: How to get pages and visuals lists via REST API
Would it be possible to get an endpoint for visuals? ie.
/reports/<reportId>/visuals
or
/reports/<reportId>/pages/<pageName>/visuals
Hi
We dont have direct rest api end point for report visuals.
Ref - https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/embed-visual
Refer this to get the visual id - https://dataap.org/blog/2022/03/10/export-power-bi-report-visual-as-a-image-rest-api-automated-way/
Thanks
Hari
Hi @KieranNZ ,
Please review the following links and check whether they are what you want. Hope they can help you resolve the problem...
| let pages = await page.getVisuals(); |
Get visuals from Power BI report through API Call
You cannot get them with the REST API but you can with the Javascript API
If you did the following to embed your report
var report = powerbi.embed(reportContainer, config);You could then do the following PowerBI Javascript API call to get all of the visuals on the first page of the embedded report and store them in a MyReportVisuals variable to do whatever you want with.
report.getPages().then(pages => { pages[0].getVisuals().then(visuals => MyReportVisuals = visuals) });
Best Regards
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |