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.
¿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?
Solved! Go to Solution.
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! 😀
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")
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
Sencillo, rápido y bealtiful... Felicidades
Solución elegante muy rápida, funciona para mí, debe marcarse como la solución también!
Hola @webportal ,
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)
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. 🙂
@webportal
Puede usar reemplazar el valor en la consulta de potencia para hacerlo de uno en uno como
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 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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! 😀
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |