Skip to main content
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

Not applicable

How do i refresh when pulling the data from sharepoint and using python script to manipulate data

I am pulling the data from SharePoint and using python code to manipulate the data. Refresh is working in PowerBI desktop . But when i published the report, i am not able to do refresh and automatic refresh. 


Due to the above error . How do


Community Support
Community Support

Hi @Anonymous ,


Check if you're using a gateway in personal mode instead of standard mode, and the privacy level of the data source needs to be set to public.

Use Python in Power BI Power Query Editor


you can also consider the following: you can use Power Query (M language) to manipulate the data from SharePoint. Power Query is supported in Power BI, and you should be able to refresh the data without issues.


Best Regards,

Community Support Team


If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Solution Sage
Solution Sage

Why do you need to use Python? Which transformations require that?


In any case, are you using a library that is not supported in the service?

Learn which Python packages are supported - Power BI | Microsoft Learn



Microsoft Employee

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors