Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

Query contains unknown function name: Python.Execute

Hello All,


I have got a Power BI file which i am trying to upload to the Power Service and schedule refreshes. I get my data from Asana using the PowerBI Asana (Beta) connector. I then run some Python scripts using the data imported from Asana as (#dataset) to clean and manipulate the data (I dont not upload data using python).


However, i get this error when i try to refresh or schedule the dataset in PowerBI service.




I downloaded the personal gateway as scheduling datasets with Python scripts is supported on it. The personal gateway is up and running fine but i think i need to allow python somehow on powerbi service.


I tried to upload the file and schedule refreshes without the python script and it worked well, which means that the python scripts are the issue. Is it something in the permissions maybe as show in the image below? I would appreciate some help.




Community Support
Community Support

Hi, @Adham 


The error message says 'the following data soureces currently don't support schedual refresh'. I wonder what difference the python scripts have made to the data from Asana, which make it unsupported to schedual refresh. Please check if there is something wrong with the python scripts.


Best Regards


Hello @v-alq-msft 


unfortunately i do not know if there is anything wrong with the python scripts, that is why i am asking to see if anyone can help me solve this issue

@v-alq-msfti realised what the problem is. I am using the Asana connector to get the data which doesnt give me the option to use my personal gateway, only the enterprise gateway. Since the python scripts only work on the personal gateways it means that i can not use python scripts to clean my data which is very annoying.


Is there a way around this? Why cant i use the personal gateway if i am using the Asana connector??

Frequent Visitor

Hello All!


I have the same error since yesterday in my new PBI Service report. I`m using Python script to get data from external API via POST request and ETL after that.


Error details:

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


My previous reports that use Pyton to ETL over existing dataset work well...


Please make a note here if you find a solution. Thank you!

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors