Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi there! I am trying to download images from a powerbi report.
I already tried to use Powerbi API in Python but didn't get any results.
I need to obtain images of the graphs in this report, ideally using python or R, any help is appreciated
Solved! Go to Solution.
For direct image extraction using APIs, as of my last update, Power BI does not provide a direct API to extract images of visuals from reports. The Power BI REST API primarily focuses on operations such as pushing data into datasets, creating reports, and managing workspaces.
While not directly using Python or R, another workaround is to export your Power BI reports to PDF and then use Python libraries such as PyMuPDF or PyPDF2 to extract images from the PDF. This method is more of a workaround and might not yield the highest quality images as directly exporting them as images from Power BI.
Here for your reference:
How to extract images from PDF in Python? - GeeksforGeeks
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It is quite possible to download report pages as images using Python and Semantic Link Labs library by Microsoft.
sempy_labs.report package — semantic-link-labs 0.7.3 documentation
Hi Zhengdong, that was really useful.
Thanks you!
For direct image extraction using APIs, as of my last update, Power BI does not provide a direct API to extract images of visuals from reports. The Power BI REST API primarily focuses on operations such as pushing data into datasets, creating reports, and managing workspaces.
While not directly using Python or R, another workaround is to export your Power BI reports to PDF and then use Python libraries such as PyMuPDF or PyPDF2 to extract images from the PDF. This method is more of a workaround and might not yield the highest quality images as directly exporting them as images from Power BI.
Here for your reference:
How to extract images from PDF in Python? - GeeksforGeeks
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
54 | |
38 | |
29 |
User | Count |
---|---|
78 | |
62 | |
45 | |
40 | |
40 |