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.
Hi,
I have a Power BI pro license and plan to use a gateway to update a report on a daily basis. I would then like to automatically refresh a report and then send a PDF export of the report to 5-10 pre-defined e-mail adresses every day. Is this posssible?
Thanks,
Andreas
It's a long time since this original post now and this may come too late, but I think I found a solution to this today. There may also be less convoluted ways to do this.
Here's the overview.
1) Firstly, I created a simple measure in my Power BI report which indicated whether the report had been refreshed on that day or not. It gave a 1 if it had been refreshed and a 0 if it had not been refreshed.
2) I then created a Power BI metric and pointed the "current value" to my 1 or 0 measure.
3) After this, I created my Power Automate flow and used the "when current value of a goal changes" Power BI goals connector to point to my Metrics scorecard / metric.
4) Following this, I used the "get a goal" Power BI goals connector to get the specific current value of the goal - i.e. 1 and 0. I then added a condition to check if the goal current value was 1 or 0, and if it was 1, then it would trigger the "Export to File for Power BI reports" connector and "Send email" processes.
This works well because it only runs if both of the following are true:
- The goal has been updated (i.e. changed from 0 ->1 or 1->0) AND
- The value is 1 (i.e. the data was updated today).
Let me know if this helps. I can provide more detail if needed.
Further to this, I've now created a full blog post about this topic: robhawkerdata.com/2022/10/31/automatic-power-bi-report-distribution-after-dataset-refresh/
The blog provides a slightly different solution to the one I originally proposed. I think its easier / more robust.
Hi @AndreasAristo ,
>> I would then like to automatically refresh a report and then send a PDF export of the report to 5-10 pre-defined e-mail adresses every day.
For demand automatically refreshing a report, you may set schedule refresh, see more details :Configure scheduled refresh .
While it is not supported to automatically send PDF export of refreshed report email in in Power BI currently . There is an idea about this issue, please vote it up, Scheduling the dashboard reports into shared location or email by exporting into pdf/excel, and you can add your comments there to improve Power BI and make this feature coming sooner.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks @v-xicai for answering. However, I thought I could use the approach explained on this site https://azure.microsoft.com/en-us/updates/export-power-bi-report-to-pdf-pptx-png-files-using-rest-ap... ? Maybe I'm misunderstanding the explained capability vs my need ?
@AndreasAristo did you tried RestAPI based on the link I shared earlier? What is holding on to test it?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k Someone told me the report need to be created as a Paginated Report and export to PNG, in order to work. I cant find an example of my example (automatic refresh, then automatic send report in PDF format, reader dont need Power Bi PRO)
@AndreasAristo check this video
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Would it be possible to send a PDF version of the report with the subscription? Some of the members doesnt have Power BI and would like to see a static PDF version of the report instead
Thanks
@AndreasAristo maybe you want to use RestAPI to create PDF and then send it by email. See this post.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
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.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |