Forum Discussion
Problemas con exportar PNG en Power BI
Tengo problemas para generar una imagen PNG de un reporte de POWER BI utilizando Power Automate.
Mi licencia es Premium per User, no sé si eso tiene alguna limitación para la exportación.
Por otro lado al querer tomar el valor del nombre de pagina, me indica error. No se si alguien puede ayudarme con un tutorial pequeño de como importar la imagen, ya que el objetivo final es enviarlo en el body de un mensaje de correo electronico (Outlook)
4 Replies
- AmiraBedh
Super User
I think that your Premium per User license does allow you to export reports, but you need to ensure that you are exporting from a workspace with Premium capacity for this to work effectively because if noy you might encounter limitations in the export functionality.If you want to automate the export and send the image via email:
1. Open Power Automate and create a new Automated Cloud Flow.
2. Choose a trigger, for example, Recurrence (to run periodically) or Manually Trigger a Flow (to run on-demand).
3. In the flow, add the Export to File for Power BI Reports action.
4. Configure the following fields:
- Workspace: Select the workspace where your report resides
- Report: Select the report you want to export
- Export Format: Select PNG
- Page Name: Specify the exact page name and be careful it is case-sensitive, so verify if it matches your report's page name exactly5. Add the Send an Email (V2) action from the Outlook connector
. In the Body of the email, you’ll need to insert the exported PNG image.You can do this by:
- Adding a Content-Type header to the image data if it’s stored in a variable.
- Don't forget to set the isInline option to true so that the image is displayed inside the email rather than as an attachmentLet me know if you need more details on any of these steps!
- JohanvasquezFrequent Visitor
Gracias por tu apoyo.
Te comento.
En mi flujo de power automate, me figura el error al momento de capturar el PNG.
Screenshot of my Workspace.
Screenshot of mi Power BI Report
This is in viewmode. And edit mode the pagename is 'Reporte Diario'
Well, now in my PA Flow. How can I configure the parameters without errors?
Thanks for your support.
Kind regards.
- AmiraBedh
Super User
Can you please explain your issue in English? my spanish is very basic. Thank you.