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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
webportal
Impactful Individual
Impactful Individual

How to remove accents from a column using Power Query?

How to remove accents from a column using Power Query?

 

My column "descritivo" has a lot of accentuated characters, like: 

 

"Á"

"õ"

"Ù"

...

 

I want:

 

"A"

"o"

"u"

 

How to do this?

1 ACCEPTED SOLUTION
lkalawski
Super User
Super User

Hi @webportal ,

 

You can do this by using R in Power Query.

Please check this link: http://datacornering.com/how-to-convert-accented-characters-to-unaccented-in-r-or-power-bi/



_______________
If I helped, please accept the solution and give kudos! 😀

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Please try this:  https://stackoverflow.com/q/71969831/6165594

 

= (textToConvert) =>
let 
    textBinary = Text.ToBinary  (textToConvert,              1251 ),
    textASCII  = Text.FromBinary(textBinary   , TextEncoding.Ascii)
in    
    textASCII

 

DenisSipchenko_0-1650635522413.png

 

Simple, Quickly and Bealtiful...Congratulations

Very quick elegant solution, works for me, should be marked as the solution as well!

harshnathani
Community Champion
Community Champion

Hi @webportal ,

 

 

https://community.powerbi.com/t5/Desktop/Replacing-Letters-with-Accents/td-p/569615#:~:text=Re%3A%20...

 

http://datacornering.com/how-to-convert-accented-characters-to-unaccented-in-r-or-power-bi/

 

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

 

HI @webportal ,

 

Check if this helps.

 

1.jpg

Anonymous
Not applicable

Sorry, a bit off topic...

But how did you attach .pbix file to post? 🤔
Here is the branch for this topic. 🙂

Fowmy
Super User
Super User

@webportal 

You can use replace value in power query to do it one at a time like

Fowmy_0-1598018598492.png
For more values, follow this video that shows how to do it for bulk replacement.
https://www.youtube.com/watch?v=MLrRlPh_ZFQ

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube, LinkedIn

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

lkalawski
Super User
Super User

Hi @webportal ,

 

You can do this by using R in Power Query.

Please check this link: http://datacornering.com/how-to-convert-accented-characters-to-unaccented-in-r-or-power-bi/



_______________
If I helped, please accept the solution and give kudos! 😀

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.