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 all,
I have a PBI report that contains data from an API call and 4 different groups of users (Microsoft groups).
I'm trying to figure out how to create a trigger so that after the report is refreshed - the appropriate group will receive an email containing a PDF of the report and a link to it.
Something like:
Some action in my web app -> refreshing the report -> sending an email to the appropriate group with report's PDF.
I know that it is possible to refresh a report using rest API, but is it also possible to send an automatic email to a specific group that will be scheduled after the refresh is finished?
*Groups can be distinguished by a varible that is available in both PBI report and web app.
Thanks.
Solved! Go to Solution.
Hey @SaharMa ,
If you are wanting to use API to send the file I believe that the Export to File will do the trick: Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn
If you are waiting until the Dataset is refreshed, then you can use this API call to determine if it is done or not:
Datasets - Get Refresh Execution Details - REST API (Power BI Power BI REST APIs) | Microsoft Learn
OR, you could use Power Automate to do all of this.
Proud to be a Datanaut!
Private message me for consulting or training needs.
Hey @SaharMa ,
If you are wanting to use API to send the file I believe that the Export to File will do the trick: Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn
If you are waiting until the Dataset is refreshed, then you can use this API call to determine if it is done or not:
Datasets - Get Refresh Execution Details - REST API (Power BI Power BI REST APIs) | Microsoft Learn
OR, you could use Power Automate to do all of this.
Proud to be a Datanaut!
Private message me for consulting or training needs.
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 | |
36 | |
27 | |
25 | |
25 |
User | Count |
---|---|
62 | |
53 | |
30 | |
24 | |
23 |