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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
CSpina
Helper III
Helper III

DataSource.Error: Microsoft SQL: Argument data type text is invalid for argument 1 of replace functi

Hi Guys! After install the version: 2.86.727.0 64-bit (outubro de 2020) I have started to get this error on MS SQL updates. Any clues? DataSource.Error: Microsoft SQL: Argument data type text is invalid for argument 1 of replace function. Detalhes: DataSourceKind=SQL DataSourcePath=--------------.sa-east-1.rds.amazonaws.com;-------------- Message=Argument data type text is invalid for argument 1 of replace function. ErrorCode=-2146232060 Number=8116 Class=16
3 REPLIES 3
CSpina
Helper III
Helper III

The problem is in: 

 

= Table.ReplaceValue(#"Colunas Removidas","<p>","",Replacer.ReplaceText,{"descricao_montadora_veiculo"})

 

I have to delete all replaces, including "</p>"

@CSpina I had this problem too. I think it means that you're pulling data from your SQL database that has blank values "" instead of null.

 

Try putting this step before your problem step, and that should fix things:

= Table.ReplaceValue(#"Removed Columns","",null,Replacer.ReplaceValue,{"descricao_montadora_veiculo"})

Hi @CSpina ,

So the problem is solved by yourself?

If not, whether the issue is about replace </p> in your data column? What did the data column look like and it seems like you want to replace it into blank. Could you please consider sharing some scrrenshots about it for further discussion?

 

Best Regards,

Yingjie Li

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.