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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.