This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Want to embed the snapshot of Power BI report as PNG in email body through Power Automate.
eg:- If my Power BI report has 3 pages so i need all 3 pages embedded in email body.
I am using "export to file for powerbi report" as connector to export the file in PNG format and then storing it in Onedrive,but it shows can't preview this file.
It is working for PDF & PPTX format but not for PNG.What is the work around anyhelp would be really appreciated.
Thanks
After exporting the PowerBI report as a PNG image, it needs to be converted to base64 format and then embedded into the email body using an HTML img tag.
As shown in the figure below:
concat('data:image/png;base64,',outputs('Export_To_File_for_Power_BI_Reports')?['body']?['$content'])
<img src="@{outputs('Base64Img')}" width="1280" height="720"><br>
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Thank you for the solution,but i tried this under advanced parameter>>pages>> page name (i:e pageid get this from URL part between (/ and ?) and it worked for me
The Power BI Export API returns:
PDF/PPTX single file (easy to attach/embed)
When exporting PNG, the output is actually:
A zip-like binary stream OR
Multiple file parts (not directly previewable in OneDrive)
That’s why:
OneDrive says can’t preview this file
Email embedding fails
So you need:
3 separate PNGs (one per page)
Convert them to Base64
Inject into HTML email body
Thank you for the solution,but i tried this under advanced parameter>>pages>> page name (i:e pageid get this from URL part between (/ and ?) and it worked for me
Check out the May 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 |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 45 | |
| 44 | |
| 41 | |
| 21 | |
| 18 |