Forum Discussion
How to trigger report refresh based on new data in PowerBI Dataset?
- Anonymous2 years ago
Hi pborah ,
You can implement this process in a script or program using your preferred programming language, such as Python, PowerShell, or Node.js, and then schedule it to run periodically using Windows Task Scheduler or any other scheduling tool.
Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi pborah ,
Based on your description, I think there are two ways to try this:
- If the data is updated regularly, you can configure a scheduled refresh in the Power BI service.
- Power BI provides a REST API that can be called to programmatically trigger a dataset refresh.
For more details, you can read below document:
Configure scheduled refresh - Power BI | Microsoft Learn
Datasets - Refresh Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- pborah2 years agoSolution Sage
Thanks Anonymous , do you know if the REST API can be called by windows task scheduler directly? Or do I have to write a script that calls the REST API and configure scheduler to execute that script?