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
Anonymous
Not applicable

Concatenar campo en PBI

Tengo datos que se ven así:

Ticket Tech
233450 qmi3
233450 top3t3
233716 hql8qoh
233893 wqd
234081 app3on
234179 momqt3
234179 hqw

Me gustaría crear un campo DAX que concatena el campo Tech para que los datos se vean así:

Ticket Tech
233450 qmi3,top3t3
233716 hql8qoh
233893 wqd
234081 app3on
234179 momqt3,hqw

¡Toda la ayuda es muy apreciada!

7 REPLIES 7

Bueno, esto se puede hacer en Power Query o DAX. Lo que es mejor depende de lo que usted está deseando hacer con él. En DAX, podrías escribir una medida como esta.

CONCATENATEX(TableName,TableName[Tech],",")

colocar la columna ticket en una matriz en filas y la medida anterior en la sección de valores



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
Anonymous
Not applicable

Matt, I'm using Direct Query and need to buils the field in DAX, 
I tried thie formula you gave me and it just places a comma after the existing field.  
I need to concatenate the data from other rows when the Ticket ID is the same.  

Debe cambiar mi fórmula TableName y TableName[ColumnName] para que coincidan con el modelo



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
Anonymous
Not applicable

Sí, cambié la fórmula a esto: TechConcat - CONCATENATEX(Instala,Instala[TECH],",")
Recibo este error:

Mensaje de error:
ORA-01704: literal de cadena demasiado largo. La excepción fue provocada por la interfaz IDbCommand.

mi suposición es que esta es la fila total. Prueba esto

• IF(ISFILTERED(Instala[TECH]),CONCATENATEX(Instala,Instala[TECH],","))



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
Anonymous
Not applicable

Ticket y Tech son columnas de mi Oracle db. La consulta devuelve 4500 filas con Ticket como campo id y un Tech está en cada fila.

INSTALADOR DE ENTRADAS
166779 bler
166779 shan

Anonymous
Not applicable

Why is my post showing in Spanish?  I can't figure how to change it back?  

 

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