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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
cristianml
Post Prodigy
Post Prodigy

= Replace UNICHAR(10) in Query Editor

Hi,

 

I want to replace line breaks (UNICART(10) that my data has in a column in query editor.

How can I replace this?

 

My first thought was the the following but it doesn't work.

 

= Table.ReplaceValue(#"Replaced Value",UNICHAR(10),"-",Replacer.ReplaceText,{"COLUMN1"})

 

Any idea if is it possible to replace this?

 

Thanks

1 ACCEPTED SOLUTION
AilleryO
Memorable Member
Memorable Member

Hi,

 

You can give a try as well to command clean on the Format button (Text.Clean in M).
It should work for both UNICHAR 10 and 13.

Let us know

View solution in original post

2 REPLIES 2
AilleryO
Memorable Member
Memorable Member

Hi,

 

You can give a try as well to command clean on the Format button (Text.Clean in M).
It should work for both UNICHAR 10 and 13.

Let us know

bcdobbs
Community Champion
Community Champion

Try using Character.FromNumber(10) in your replace code rather than UNICHAR(10)

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors