Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dataset refresh fails because of a Python script

Hi,

 

I worked on a report in PBI desktop and used a Python script in Power Query to hash a sensible information.

This works like a charm.

 

However, when I publish it on the PBI Service, the scheduled refresh keeps failing with this error:

 

"Message: The import Python.Execute matches no exports. Did you miss a module reference? Table: blablabla"

 

I assume that this is because Python is installed locally on my computer but is there a workaround ? (I'm afraid not because of this: 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/35207536-python-on-scheduled-refr... but maybe someone can help...)

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, it is not possible to meet your requirement currently. You vote the idea up and add your comments there to improve Power BI and make this feature coming sooner.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, it is not possible to meet your requirement currently. You vote the idea up and add your comments there to improve Power BI and make this feature coming sooner.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Thanks Frank for the reply!

 

I just voted this idea. Waiting for that, I'm struggling learning R basics to adapt my Python script using R as it seems that R scripts are better supported 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.