We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
How to remove error rows without losing original data
Solved! Go to Solution.
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"
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"
check the given code.
ok thanks for your valuable suggestions
Mrk it as a solution if it fullfills your need.
thanks for your reply but the problem is
by using remove errors option actual data is also removed from the same row
yuo shouldnt be using remove error.
Use replace error's option to keep the records
Select all columns of the table. To do this, you can press CTRL+A
Transform menu - Replace values - Replace errors - put null
This will replace only error values with null and will not touch any other data in your rows.
Go to Home menu - Remove Rows - Remove Errors
hi vijay ,
thanks for your reply but the problem is
by using remove errors option actual data is also removed from the same row
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 6 | |
| 5 |