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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
omkarsawant30
Frequent Visitor

How to replace errors in a column based on a filter applied in another column?

I have found errors in my dataset for a column ID. I need to replace those errors with 2 values based on corresponding row value of another column 'Name', however when i go to Transform - Replace values, it only allows to replace all errors together with only 1 value that you can input, but i want to input 2 values conditionally , input DC1 for few rows in ID column that has cell value ABC in 'Name' column and DC2 for remaining rows with errors in ID column which has value XYZ in 'Name' column.

 

 

1 REPLY 1
omkarsawant30
Frequent Visitor

@amitchandak Please check this query

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.