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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
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. 

jatinc2617_0-1687452670490.png

Due to the above error . How do

 

2 REPLIES 2
Anonymous
Not applicable

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,
Gao

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

ppm1
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

 

Pat

Microsoft Employee

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.