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

¿Cuántos productos ya han sido entregados por el grupo?

Tengo 2 fuentes. La primera fuente es Share Point y los segundos 4 archivos entregados por los propietarios de productos en una tabla. Los archivos de Excel se proporcionan a través de Product Owners y tengo que verificar si recibí los datos del Product Owner en un mes. Si está en estado de Sharepoint "implementado", entonces tengo que ver en el archivo de Excel si realmente se entregó.

En este caso utilicé esta medida y está funcionando:

Producto recibido =

var _version = MAX('Datos SHP' [Product_Name])

var _product = SELECTCOLUMNS(FILTER('SHP Data', 'SHP Data'[Status] = "Implementado"), "_product", 'SHP Data'[Product_Name])

var _product2 = SELECTCOLUMNS(FILTER(ALL('Excel file'), ('Excel File'[Product_Name] = _version, "_product", 'Excel File'[Product_Name]

DEVOLUCIÓN

COUNTROWS(INTERSECT(_product, _product2))


Datos de ejemplo y columnas a continuación:

  • SharePoint:
Product_NameGrupoVersiónTecnologíaEstado
P1Gr 101.01T1Implementado
P2Gr 101.28T2Planificado
P3Gr 201.05T3Planificado
P4Gr 201.12T4Implementado
P5Gr 31.0T5Implementado
P6Gr 33.1T6Implementado
P7Gr 33.07T7Desarmado
P8Gr 45.04T8Desmantelamiento
P9Gr 401.02T9Implementado
P10Gr 402.24T10Planificado
P11Gr 402.10T11Planificado
P12Gr 51.02T12Implementado

Archivo de Excel:

Product_NameGrupoVersiónTecnología
P1Gr 101.01T1
P2Gr 101.28T2
P4Gr 201.12T4
P7Gr 33.07T7

Ahora necesito calcular:

¿Cuántos productos ya han sido entregados por el grupo?

Los resultados deben expresarse como un porcentaje.

Lo intenté con esta medida pero muestra un valor incorrecto:

Se han entregado = var _count = CALCULATE(COUNT('SHP Data'[Product_Name]),ALLEXCEPT('SHP Data','SHP Data'[Group])) var _delivered = CALCULATE(COUNT('SHP Data'[Product_Name]),FILTER('SHP Data','SHP Data'[received product] = 1 ))
return DIVIDE(_delivered,_count)

¿Podría ayudarme con el cálculo, por favor?

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@dgadzinski

Intenté resolver esto en power query

He fusionado ambas tablas según el nombre del producto y esta la captura de pantalla del estado = entregado

VijayP_0-1670221452045.png

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.