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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Python Script ErrorCode=-2147467259 While I Want To Transform a Data From Restricted Google Sheet

DataSource.Error: ADO.NET: A problem occurred while processing your Python script. Here are the technical details: [DataFormat.Error] N_A Details: DataSourceKind=Python DataSourcePath=Python Message=A problem occurred while processing your Python script. Here are the technical details: [DataFormat.Error] N_A ErrorCode=-2147467259 ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonUnexpectedException

This happens while i want to cleaning the data from Power Query using Python Script that the data source was from G-Sheet. I already check the script using other G-Sheet files and it runs, but whenever i try using restricted (only viewer not editor)

befat_2-1694879143201.pngbefat_3-1694879165927.png

 

 G-Sheet it gets that error. But when i transform/clean the data without python script (only using power query)

befat_1-1694879018410.png

 

it runs perfectly. I really need to used Python Script for my project report is there any other way to done it with python script?

 

1 REPLY 1
lbendlin
Super User
Super User

Remove the N/A  fields from your Google Sheets source.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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