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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
bolabuga
Helper V
Helper V

[ Ayuda a extraer parte de un texto de una columna ]

Hola a todos.

Me gustaría ayudar a extraer las direcciones de las casas de una "columna de dirección", y necesito sólo el texto al principio hasta el carácter ",".

Ex:

Travessa john charles de mello, 457 A - barrio ABC - City xyz, Sao paulo---> Necesito la parte del texto hasta la primera "coma", que es "Travessa john charles de mello".

Nunca tuve la necesidad de hacer tal cosa en power bi, y im un poco perdido aquí, porque hay un montón de diferentes adresses y me gustaría saber si hay una manera de utilizar el PRIMER COMMA como un PUNTO donde podemos contar los personajes hasta allí y luego tal vez utilizar ese recuento en una función de dax IZQUIERDA.

Cualquier ayuda es bienvenida, puede ser dax o power query.

2 ACCEPTED SOLUTIONS
AlB
Super User
Super User

Hola @bolabuga

Claro, puede utilizar FIND:

FIND(",", Table1[Col],1,0)

para obtener la posición de la primera coma y luego usar eso (-1) con un LEFT( )

Por favor, marque la pregunta resuelta cuando haya terminado y considere dar felicitaciones si las publicaciones son útiles.

Póngase en contacto conmigo de forma privada para obtener asistencia con cualquier necesidad de BI a gran escala, tutoría, etc.

Salud

SU18_powerbi_badge

View solution in original post

CNENFRNL
Community Champion
Community Champion

Hola, @bolabuga , Kit de herramientas de Power BI consta de otro potente sable de luz, Power Query, que hace el truco.

Untitled.png

2.png

Su poder está más allá de la imaginación cuando tienes una comprensión firme de las funciones en el lenguaje M. Apuesto a que te encantará.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

3 REPLIES 3
CNENFRNL
Community Champion
Community Champion

Hola, @bolabuga , Kit de herramientas de Power BI consta de otro potente sable de luz, Power Query, que hace el truco.

Untitled.png

2.png

Su poder está más allá de la imaginación cuando tienes una comprensión firme de las funciones en el lenguaje M. Apuesto a que te encantará.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

@AlB

@CNENFRNL

Wow, ambos fueron increíbles... REEEAMENTE thks!!!

AlB
Super User
Super User

Hola @bolabuga

Claro, puede utilizar FIND:

FIND(",", Table1[Col],1,0)

para obtener la posición de la primera coma y luego usar eso (-1) con un LEFT( )

Por favor, marque la pregunta resuelta cuando haya terminado y considere dar felicitaciones si las publicaciones son útiles.

Póngase en contacto conmigo de forma privada para obtener asistencia con cualquier necesidad de BI a gran escala, tutoría, etc.

Salud

SU18_powerbi_badge

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors