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

Visual de matriz: 2 o más registros tienen etiquetas idénticas

Hola a todos

Estoy bloqueado por un problema que parece muy simple.

Considere las siguientes tablas - Empleado y EmpleadoSiños

Empleado

image.png

Observe que hay 2 empleados que comparten el mismo nombre "Jane Smith" (104 y 107)

EmployeeChildren

image.png

1-muchas relaciones

1-many relationship1-muchas relaciones

Escenario

Estoy tratando de usar el objeto visual Matrix para:

  • Muestre una lista de empleados y el recuento de hijos para cada empleado.
  • Al hacer clic en un empleado, debería poder ver al niño individual para ese empleado

Desafío

  • The data is accurately displayed, but how do I show the Fullname column of the Empleado as opposed to the underlying ParentID ?
  • image.png
  • If I try to use the Fullname of the Empleado in the Rows then I get only 1 Jane Smith ! The presentation is nicer, but the data is incomplete.
  • image.png

Gracias

O

7 REPLIES 7
Pragati11
Super User
Super User

Hola @sau001 ,

¿No se muestra ParentID y EmployeeName en el objeto visual de matriz?

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hola @Pragati11 ,

Gracias por investigar esto. ¿Podrías elaborar amablemente el furhter?

¿Está sugiriendo crear una columna Calculada?

sau001_0-1602231195170.png

Gracias

O

Hola @sau001 ,

Puedes hacerlo de 2 maneras:

  1. Mueva las columnas Parent ID y EmployeeName al objeto visual de matriz junto con otras columnas.
  2. Cree una columna Concatenada mediante ParentID y EmployeeName y, a continuación, muévalo al objeto visual mtix.

Le sugeriré el 1er enfoque en el que no tiene que crear columnas calculadas.

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hola @Pragati11 ,

Me gustó tu primer enfoque y lo intenté.

sau001_0-1602240384795.png

Arrastré la columna Employee FullName a Values . El FullName se muestra - como usted sugirió. Sin embargo, creo que Matrix está agregando y mostrándome el mismo FullName para todos los registros. "George Washington" en este ejemplo.

¿Alguna sugerencia?

Gracias

O

Hola @sau001 ,

Mueva FULLNAME a la sección ROWS no a la sección VALUES.

Comprueba si funciona.

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hola @Pragati11 ,

Intenté tu sugerencia. Se ha movido Employee.FullName a la sección ROWS.

sau001_0-1602241116603.png

¿Esto es lo que tenías en mente?

Gracias

O

Anonymous
Not applicable

@Pragati11

Sólo para añadir a mi respuesta anterior. Así es como se ve Matrix cuando expando el encabezado.

sau001_0-1602240715518.png

Gracias

O

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