Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I’ve built a Power BI report that uses a Python script as the data source. It works fine in Power BI Desktop—I can refresh the data without any issues.
However, after publishing the report to the Power BI Service, I receive an error when trying to refresh:
"Unable to refresh the model because it references an unsupported data source."
Can anyone confirm:
Is it possible to refresh a dataset that uses a Python script in the Power BI Service (either manually or scheduled)?
Solved! Go to Solution.
You can buy only if you refresh using a personal gateway. The personal gateway will be on your machine, and that will be running the python.
Hi @Shrujan1612 ,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.
Hi @Shrujan1612 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @Shrujan1612 ,
Thank you for reaching out to Microsoft Fabric Community.
Thank you @Deku for the prompt response.
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
You can buy only if you refresh using a personal gateway. The personal gateway will be on your machine, and that will be running the python.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.