Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Is it possible to embed a graph from Power Bi into an email via power automate? if so, how do I do it?
This is posible
first you need to make sure the Power bi Tenant setting are enabled to allow you to export reports as images. This is usually maintained by your companies Microsoft support or IT.
Once enabled you can start your flow.
Start with a "Export To File for Power BI Reports" step and populate your
1. Workspace
2. Report
3. Export format = PNG
4. Page Name = Found at the end of your reports URL
5. Visual Name - you can press F12 then seach for "visualsEnterhint" then brower until you see the visual you wish to capture. You will find a long alphanumeric code followed by the title of your visual. You want to copy the alphanumeric code. If you are not comfortable searching this way you can use this link to search the elements of your report. https://playground.powerbi.com/en-us/dev-sandbox
Next you use a "COMPOSE" step with a Base64 function
Next you create your email "Send and Email(V2)". I use HTML format when I create this and it would look something this this.
<p>Hello,<p>Below is this weeks chart reporting out defect per project</p>
<p><img src="data:image/png;base64,Outputs" width="350" height="200"/>
Results. Weekly automated email including 3 visuals from different PBI reports
Hi @bcreaney
Currently Power BI and Power Automate doesn't have such an out-of-box feature. But I found an old thread from Power Automate community that many users provided their ideas and solutions to achieve a similar goal. You may have a look at the thread Embed Power BI image inside Flow email action - Power Platform Community
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.