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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
saipavanimomidi
New Member

remove errors rows

How to remove error rows without losing original data 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @saipavanimomidi , 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"

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hello @saipavanimomidi , 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
Not applicable

check the given code.

 

ok thanks for your valuable suggestions

 

Anonymous
Not applicable

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 

Anonymous
Not applicable

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.

Vijay_A_Verma
Super User
Super User

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 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors