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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors