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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

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.