We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.