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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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