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
Hi,
I have a PBI report based on python scripts.
When I try to refresh it through the PBI desktop, it succeeds.
But when I upload to the server and try to schedule a refresh, I get this error message:
: The import Python.Execute matches no exports. Did you miss a module reference?. The exception was raised by the IDbCommand interface. : The current operation was cancelled because another operation in the transaction failed. : The command has been canceled.. The exception was raised by the IDbCommand interface.
Is anyone else having this?
Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
From this official document can see, Python scripts and visuals are not supported in Power BI Report Server. You can develop those components within PBI Desktop, but that's all you can do at this point. For Python compatibility, you will need to publish your report to the Service.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
From this official document can see, Python scripts and visuals are not supported in Power BI Report Server. You can develop those components within PBI Desktop, but that's all you can do at this point. For Python compatibility, you will need to publish your report to the Service.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
There is another error but for R
Scheduled Refresh Error with R code - Microsoft Power BI Community
But if you are not able to do it at the desktop level then please check if there are any restrictions on your server?
Regards,
Ritesh
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.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |