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

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.

Reply
HenryJS
Post Prodigy
Post Prodigy

Filas de grupo: Nueva columna

Hola a todos

¿Cómo puedo agrupar filas de datos

Por lo tanto, 'Advert - Considering' y 'Advert - Not Progressing' son una nueva fila llamada 'Advert Actions'. Y los condes se sumarán

Capture1.JPG

nombre de usuarioActionRefActionNameActionDate
Katie Peachey3169223Anuncio - Teniendo en cuenta17/04/2020 11:49
Katie Peachey3169183Anuncio - Teniendo en cuenta17/04/2020 10:40
Sally Miller3146976Anuncio - No progresando31/03/2020 10:15
Sally Miller3146971Anuncio - No progresando31/03/2020 10:13
Sally Miller3145364Anuncio - No progresando31/03/2020 10:01
Sally Miller3144313Anuncio - No progresando31/03/2020 09:35
1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hola @HenryJS,

¿Alguna cadena similar en los registros que se usapara crear una nueva columna como grupo? Si no es así, me gustaría sugerirle que intente crear variables de valores y las haya utilizado para compararlas con el valor actual para asignar el grupo.

Muestra:

Group =
VAR listA = { "A", "B", "C", "D" }
VAR listB = { "E", "G", "H" }
RETURN
    IF (
        [Column] IN listA,
        "GroupA",
        IF ( [Column] IN listB, "GroupB", "Ungrouped" )
    )

saludos

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hola @HenryJS,

¿Alguna cadena similar en los registros que se usapara crear una nueva columna como grupo? Si no es así, me gustaría sugerirle que intente crear variables de valores y las haya utilizado para compararlas con el valor actual para asignar el grupo.

Muestra:

Group =
VAR listA = { "A", "B", "C", "D" }
VAR listB = { "E", "G", "H" }
RETURN
    IF (
        [Column] IN listA,
        "GroupA",
        IF ( [Column] IN listB, "GroupB", "Ungrouped" )
    )

saludos

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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