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.
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:
Product_Name | Grupo | Versión | Tecnología | Estado |
P1 | Gr 1 | 01.01 | T1 | Implementado |
P2 | Gr 1 | 01.28 | T2 | Planificado |
P3 | Gr 2 | 01.05 | T3 | Planificado |
P4 | Gr 2 | 01.12 | T4 | Implementado |
P5 | Gr 3 | 1.0 | T5 | Implementado |
P6 | Gr 3 | 3.1 | T6 | Implementado |
P7 | Gr 3 | 3.07 | T7 | Desarmado |
P8 | Gr 4 | 5.04 | T8 | Desmantelamiento |
P9 | Gr 4 | 01.02 | T9 | Implementado |
P10 | Gr 4 | 02.24 | T10 | Planificado |
P11 | Gr 4 | 02.10 | T11 | Planificado |
P12 | Gr 5 | 1.02 | T12 | Implementado |
Archivo de Excel:
Product_Name | Grupo | Versión | Tecnología |
P1 | Gr 1 | 01.01 | T1 |
P2 | Gr 1 | 01.28 | T2 |
P4 | Gr 2 | 01.12 | T4 |
P7 | Gr 3 | 3.07 | T7 |
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?
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |