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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Memorable Member
Memorable Member

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
Memorable Member
Memorable Member

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.