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
Chitemerere
Responsive Resident
Responsive Resident

Nueva creación de mesa con UNION

Estoy tratando de crear una nueva tabla usando UNION basada en una tabla exisitante llamada 'PharmaAuditGW' de la siguiente manera:

Tabla original llamada PharmaAuditGW

Table_Original.JPG

PharmaAuditGW con otros - UNION(
ROW("ProductCode_wOthers", 99, "Item_wOthers", "Otros"),
ALLNOBLANKROW('PharmaAuditGW'[ProductCode], 'PharmaAuditGW'[Item])
)
Sin embargo, los resultados se invierten como se puede ver a continuación:
UNION_TABLE_Creation.JPG

Los encabezados de columna se intercambian junto con los valores de la fila recién creada.
Amablemente asistencia,
Chris
1 ACCEPTED SOLUTION

@Chitemerere ,

Inténtalo una vez como este y comprueba si funciona

PharmaAuditGW con otros - UNION(
ROW("ProductCode_wOthers", 99, "Item_wOthers", "Otros"),
resumir('PharmaAuditGW','PharmaAuditGW'[ProductCode], 'PharmaAuditGW'[Item])
)

puede filtrar de blanco en resumen

View solution in original post

6 REPLIES 6
az38
Community Champion
Community Champion

Hola @Chitemerere

tratar de utilizar los mismos nombres de columna y orden, como

PharmaAuditGW with Others = UNION(
ROW("ProductCode", 99, "Item", "Others"),
ALLNOBLANKROW('PharmaAuditGW'[ProductCode], 'PharmaAuditGW'[Item])
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Chitemerere
Responsive Resident
Responsive Resident

Muchas gracias por su opinión, la solución no funcionó, vea a continuación:

NonworkingOthers.JPG

Saludos

Chris

Chitemerere
Responsive Resident
Responsive Resident

Muchas gracias por su respuesta, muy apreciado. Los resultados son los siguientes:

AUDIT_WITH_OTHERS.JPG

El problema sigue existiendo.

saludos

Chris

@Chitemerere ,

Inténtalo una vez como este y comprueba si funciona

PharmaAuditGW con otros - UNION(
ROW("ProductCode_wOthers", 99, "Item_wOthers", "Otros"),
resumir('PharmaAuditGW','PharmaAuditGW'[ProductCode], 'PharmaAuditGW'[Item])
)

puede filtrar de blanco en resumen

Muchas gracias, eso funcionó.

saludos

Chris

@Chitemerere trataste de poner el 99 entre comillas? "99"? ¿Quizás intentar cambiar el orden de la segunda mesa? ¡Es un comportamiento interesante!

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

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