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
Kwokster
Frequent Visitor

Mostrar la cantidad pendiente por pedido y número de artículo

Hola a todos

Ya algunos investigaron, pero no encontraron una solución.

Quiero mostrar/calcular por pedido la cantidad pendiente de cada número de artículo.

El desafío aquí es el orden y el número de artículo puede existir de 1 o 2 posiciones en el archivo de origen.

Puede encontrar aquí un ejemplo de la solución deseada.

Naamloos.png

Cualquier ayuda será apreciada.

Atentamente

Kwokster

4 REPLIES 4
Icey
Community Support
Community Support

Hola @Kwokster ,

Intente crear una medida como tal:

Open = 
VAR Ordered_ =
    AVERAGE ( 'Table'[Ordered] )
VAR Received_ =
    SUM ( 'Table'[Received] )
RETURN
    Ordered_ - Received_

ORDER2.PNG

Saludos

Icey

Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Kwokster
Frequent Visitor

@Icey ¡Tengo este código para funcionar, muchas gracias!

az38
Community Champion
Community Champion

Hola @Kwokster

tratar de una medida como

Measure = 
var _totReceived = CALCULATE(SUM(Table[Received]), ALLEXCEPT(Table, Table[Order nr.], Table[Item number]) )
var _totOrdered = CALCULATE(AVERAGE(Table[Ordered]), ALLEXCEPT(Table, Table[Order nr.], Table[Item number]) )

RETURN
_totOrdered - _totReceived 

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Kwokster
Frequent Visitor

@az38 Voy a probar su solución, gracias!

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.