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
Hello everyone,
I use a python script as a datasource in a report. In desktop version works fine.
The problem is when I try to refresh it in powerBI Service, I have a lot of doubts:
Remember that I use python only to load data, and NOT to create a visual (Which its supossed to have the size limit)
My idea is to scheduled the refreshed of this report.
More data: The machine which has the gateway (enterprise) can run python. How can I configure the path of interpreter?
Thanks in advance, and sorry for any missunderstanding, there are a lot of questions
Cheers
Solved! Go to Solution.
Hi @aoliver ,
Based on this document, It is not supported to implement schedule refresh via on premise Data Gateway (Enterprise Gateway) for Python in Power BI Service currently .
Based on my research, Python script execution on the Power BI Desktop and personal gateway has the same dataframe size and PNG image size limits, but the execution time limit is 300 seconds. Other constraints are not applicable to Power BI Desktop and personal gateway. Please refer to this blog: https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/
Best regards,
Hi @aoliver ,
Based on this document, It is not supported to implement schedule refresh via on premise Data Gateway (Enterprise Gateway) for Python in Power BI Service currently .
Based on my research, Python script execution on the Power BI Desktop and personal gateway has the same dataframe size and PNG image size limits, but the execution time limit is 300 seconds. Other constraints are not applicable to Power BI Desktop and personal gateway. Please refer to this blog: https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/
Best regards,
Thanks for all your answers!!!
Cheers
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.