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.

Error while running Python Script

Hello, I'm actually trying to add a Python script into Power Query Editor, but I'm getting an error.

manou0990_0-1647627623467.png

I've tried with an old version of Power Bi, it worked but my existing report wouldn't open, so I have to work with the latest version. 
Could you help ? Thanks

Status: Investigating

Perhaps there is something wrong when transforming the data type in it so that it occurs dataformat error. You can try to check whether there is any other data which could not be transformed to the number type in your data source.

 

Best Regards,
Community Support Team _ Yingjie Li

Comments
v-yingjl
Community Support
Status changed to: Needs Info

Based on the screenshot, seems like the dataformat error that I've found this information by translation:

Sorry...We can't convert to a number

 

In addition, could you please consider providing the English screenshot if possible so that we can find more information abou it.

 

Best Regards,
Community Support Team _ Yingjie Li

 

manou0990
New Member

Hello, thank you for your answer, I've swithed Power Bi language to English, here's the error

manou0990_0-1647852288051.png

My current version of Power BI  Version: 2.103.661.0 64-bit (March 2022)

v-yingjl
Community Support
Status changed to: Investigating

Perhaps there is something wrong when transforming the data type in it so that it occurs dataformat error. You can try to check whether there is any other data which could not be transformed to the number type in your data source.

 

Best Regards,
Community Support Team _ Yingjie Li