Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I've experienced a new and unexpected error on exisitng Power BI Data Sets when having multiple replace transformation statements on the same column. The same code does not result in an error in MS Excel Power Query. The lines in the code that fail:
#"Filtered Rows" = Table.SelectRows(#"Renamed Columns", each [ITEMNMBR] <> null and [ITEMNMBR] <> ""),
#"Replaced Value" = Table.ReplaceValue(#"Filtered Rows","","Not Assigned",Replacer.ReplaceValue,{"Customer", "category"}),
#"Replaced Value1" = Table.ReplaceValue(#"Replaced Value",null,"Not Assigned",Replacer.ReplaceValue,{"Customer", "category"})
in
#"Replaced Value1"
The error:
Failed to save modification to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: Invalid column name 't0_1'..'.
If I delete one of the replace value lines, the transformation processes corrrectly but leaves me with an unresolved replacement.
This is a new error on existing datasets.. It doesn't matter if the multiple replacements are on one or more columns.
I've been able to work around the error by adding custom columns. This seem unncessary. Has anyone else seen this error with the same conditions. The transformation was done on Power BI Desktop Version: 2.80.5803.1061 64-bit (April 2020)
Thanks,
Keith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.