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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors