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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.