Forum Discussion
Anonymous
4 years agoNot applicable
remove errors rows
How to remove error rows without losing original data
- Anonymous4 years ago
Hello Anonymous , what do you mean by remove error rows without losing original data?
You want the error values to be replaced with null then
you can do something like this
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45W8nNUitWJVvLNz0jMA7MMDQyUYmMB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"Name", Int64.Type}}), #"Replaced Errors" = Table.ReplaceErrorValues(#"Changed Type", {{"Name", null}}) in #"Replaced Errors"
Anonymous
4 years agoNot applicable
Hello Anonymous , what do you mean by remove error rows without losing original data?
You want the error values to be replaced with null then
you can do something like this
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45W8nNUitWJVvLNz0jMA7MMDQyUYmMB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Name", Int64.Type}}),
#"Replaced Errors" = Table.ReplaceErrorValues(#"Changed Type", {{"Name", null}})
in
#"Replaced Errors"Anonymous
4 years agoNot applicable
check the given code.
- Anonymous4 years agoNot applicable
ok thanks for your valuable suggestions
- Anonymous4 years agoNot applicable
Mrk it as a solution if it fullfills your need.