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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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