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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Carousel June 2024

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

2
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors