This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I understand that there are limits to the amount of scheduled refreshes one can make when following the traditional route with no coding. Is there a way to write a python script to schedule a data refresh?. If so, how can I go about doing this?.,
Thanks in advance.
Solved! Go to Solution.
Hi @HamidBee ,
You could use the "refreshes" API endpoint in Power BI. Here a blog post on this:
https://pbi-guy.com/2022/01/07/refresh-a-power-bi-dataset-with-python/
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hi @HamidBee ,
You could use the "refreshes" API endpoint in Power BI. Here a blog post on this:
https://pbi-guy.com/2022/01/07/refresh-a-power-bi-dataset-with-python/
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Thanks for the link. I'll go through it carefully. The only thing that I was dissapointed to learn was this part
"Keep in mind that the limitation of your licensing can’t be eliminated. This means if you’re using the Power BI Free license you can programmatically refresh a dataset once a day. With a Pro License it’s eight times a day, and with Premium or Premium per User it’s 48 (see https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data#data-refresh)."
I was hoping Python would eliminate this limitation entirely.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 9 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 19 | |
| 17 | |
| 15 |