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
Syndicate_Admin
Administrator
Administrator

Contar valores únicos si > 1

Hola

Tengo una tabla que contiene Propiedad ref, Trad, Proveedor y único. El único es una concatenación de Propiedad-Comercio-ProveedorTengo un informe que filtra por Suppplier. Estoy tratando de contar el número de veces que aparece el valor único si el recuento es mayor que 1. Si el conteo es igual a 1 no me interesa.

Ejemplo de tabla

PropiedadComercioProveedorÚnico
1ELECAPOGEO1-ELEC-ACME
1ELECAPOGEO1-ELEC-ACME
1CIRUELAAPOGEO1-PLUM-ACME
2CIRUELAAPOGEO2-PLUM-ACME
3CARPAAPOGEO3-CARPA-ACME
4CARPAAPOGEO4-CARPA-ACME
4CARPAAPOGEO4-CARPA-ACME
4CARPAAPOGEO4-CARPA-ACME
4CARPAAPOGEO4-CARPA-ACME
4CARPAAPOGEO4-CARPA-ACME
5CIRUELAAPOGEO5-PLUM-ACME
5CIRUELAAPOGEO5-PLUM-ACME
6ELECABECEDARIO6-ELEC-ABC
7ELECAPOGEO7-ELEC-ACME
7ELECAPOGEO7-ELEC-ACME
7CIRUELAABECEDARIO7-PLUM-ABC
8CIRUELAABECEDARIO8-PLUM-ABC

Este resumen de la tabla anterior muestra que el proveedor llamado ACME tuvo 4 incidencias donde el recuento de la columna única fue > 1

Proveedor y únicoConde de Único
ABECEDARIO3
6-ELEC-ABC1
7-PLUM-ABC1
8-PLUM-ABC1
APOGEO14
1-ELEC-ACME2
1-PLUM-ACME1
2-PLUM-ACME1
3-CARPA-ACME1
4-CARPA-ACME5
5-PLUM-ACME2
7-ELEC-ACME2


Gracias Richard

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Hola

Por favor, compruebe la imagen de abajo y el archivo pbix adjunto.

Untitled.png

Countrows meausre greater than one: =
COUNTROWS (
    SUMMARIZE ( FILTER ( Data, [Countrows measure:] > 1 ), Data[Unique] )
)

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Muchas gracias por su rápida resonancia 😀

Syndicate_Admin
Administrator
Administrator

Hola

Por favor, compruebe la imagen de abajo y el archivo pbix adjunto.

Untitled.png

Countrows meausre greater than one: =
COUNTROWS (
    SUMMARIZE ( FILTER ( Data, [Countrows measure:] > 1 ), Data[Unique] )
)

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.