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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
webportal
Impactful Individual
Impactful Individual

¿Cómo eliminar acentos de una columna mediante Power Query?

¿Cómo eliminar acentos de una columna mediante Power Query?

Mi columna "descritivo" tiene muchos caracteres acentuados, como:

En

""

"A"

...

Quiero:

"A"

"El"

"u"

¿Cómo hacer esto?

1 ACCEPTED SOLUTION
lkalawski
Super User
Super User

Hola @webportal ,

Puede hacerlo mediante R en Power Query.

Por favor, consulte este enlace: http://datacornering.com/how-to-convert-accented-characters-to-unaccented-in-r-or-power-bi/



_______________
Si ayudé, por favor acepte la solución y dar felicitaciones! 😀

View solution in original post

9 REPLIES 9
Syndicate_Admin
Administrator
Administrator

Text.Replace(Text.Replace(Text.Replace(Text.Replace(Text.Replace(Text.Replace([columna]
,"A","A")
,"ã","A")
,"Â","A")
,"Ah","A")
,"é","e")
,"E","E")
,"í","i")
,"Ó","O")
,"Õ","O")
,"O","O")
,"ú","u")
,"Ç","C")

Syndicate_Admin
Administrator
Administrator

Por favor, pruebe esto: 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

Sencillo, rápido y bealtiful... Felicidades

Solución elegante muy rápida, funciona para mí, debe marcarse como la solución también!

harshnathani
Community Champion
Community Champion

Hola @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/

saludos
Harsh Nathani
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución! Apreciar con un Kudos!! (Haga clic en el botón Pulgares arriba)

HI @webportal ,

Compruebe si esto ayuda.

1.jpg

Lo siento, un poco fuera de tema...

Pero, ¿cómo se adjuntó el archivo .pbix a la publicación? 🤔
Aquí está la rama para este tema. 🙂

Fowmy
Super User
Super User

@webportal

Puede usar reemplazar el valor en la consulta de potencia para hacerlo de uno en uno como

Fowmy_0-1598018598492.png
Para obtener más valores, siga este vídeo que muestra cómo hacerlo para el reemplazo masivo.
https://www.youtube.com/watch?v=MLrRlPh_ZFQ

________________________

¿He respondido a tu pregunta? Marque este post como una solución, esto ayudará a otros!.

Haga clic en el icono Thumbs-Up si le gusta esta respuesta 🙂

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

Hola @webportal ,

Puede hacerlo mediante R en Power Query.

Por favor, consulte este enlace: http://datacornering.com/how-to-convert-accented-characters-to-unaccented-in-r-or-power-bi/



_______________
Si ayudé, por favor acepte la solución y dar felicitaciones! 😀

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors
Top Kudoed Authors