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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Kth_kon
Regular Visitor

No report refresh in Power Bi service if Python was used for data transformation

Hello, 

I have a report which uses the Azure Data Explorer as a source. In the Query Editor I have used some Python for data transformation. The python code contains the packages numpy, pandas and scipy. 

Everything works in the Power Bi Desktop. 

When I publish the report to Power Bi a sheduled refresh is not possible. The following notification is shown:

 

"You can´t shedule refresh for this dataset because the following data sources currently don´t support refresh:

Data source for "name of table"

Discover Data Sources:

Query contains unknown function name: Python.Execute Unknown function name: Python.Execute is a valid Mashup library function name format. Hence fail the operation."

 

This article ( Article ) states that when a report is published to Power Bi service the python script are excecuted when the data is refreshed and that this happens through the on-premises data gateway in personal mode (personal gateway)

 

As my organization does not allow personal gateways this could be the issue. Does any one know something here? As the article is a bit old I thought that maybe something has changed by now. 

 

 

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

Hi, @Kth_kon 

 

It is unsupported to schedule refresh by on-premise data gateway(Enterprise gateway) with python script. Python scripts are supported for personal mode. Here is an idea  about the issue. I'd like to suggest you vote it up and add comments there to improve Power BI. 

 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

For further information, please refer the official document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-alq-msft
Community Support
Community Support

Hi, @Kth_kon 

 

It is unsupported to schedule refresh by on-premise data gateway(Enterprise gateway) with python script. Python scripts are supported for personal mode. Here is an idea  about the issue. I'd like to suggest you vote it up and add comments there to improve Power BI. 

 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

For further information, please refer the official document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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