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

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

Reply
gtamir
Post Patron
Post Patron

Error handling

I have "Mobile" column with some phone numbers containing (-). I change type to txt, and I want to replace the (-) with nothing.

How do I do this?

In the query it won't do it, if I use try expresion  I get the column with the errors and replace the (-), but this column contains only the lines that had errors. I want to put the values back in the original column.

1 ACCEPTED SOLUTION

I understand now. I have to do it in the query and not from the query errors.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@gtamir,

 

You may simply select Replace Values from the Home tab in the Query Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I understand now. I have to do it in the query and not from the query errors.

I can't do that in bulk. There are several different errors.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.