Forum Discussion
Total de ejecución
caro
Amablemente estoy tratando de hacer un total corriente para el equilibrio como se muestra en la imagen,
se basa en un rango por proveedor:
He probado una medida rápida no dará un rnning total correcto ni la cantidad total correcta
1 - Medida del total corriente :
Querido @amitchandak
Gracias por la medida , lo hice como sigue y funcionóSaldo 1 =CALCULAR(SUM('Prueba'[Saldo]),FILTRO(ALLSELECTED(Test),Test[Rank_By_Vendor]<=MAX(Test[Rank_By_Vendor])))
Muchas gracias por su ayuda
3 Replies
- Syndicate_Admin
Administrator
@bhelou , debe tener algún valor único para el total de ejecución.
Prueba como
CALCULAR(
SUM('Prueba'[Saldo]),
FILTRO(
ALLSELECTED('Prueba'[TransactionLine_Unique]),
'Prueba'[TransactionLine_Unique]>= MIN(TransactionLine_Unique))
)o
CALCULAR(
SUM('Prueba'[Saldo]),
FILTRO(
ALLSELECTED('Prueba'[TransactionLine_Unique]),
'Prueba'[TransactionLine_Unique]<= MAX(TransactionLine_Unique))
)o
CALCULAR(
SUM('Prueba'[Saldo]),
FILTRO(
ALLSELECTED('Prueba'),
'Prueba'[TransactionLine_Unique]<= MAX(TransactionLine_Unique))
)- Syndicate_Admin
Administrator
caro
Lo siento, no de las medidas trabajadas,medida 1 &2 : me dio el mismo resultado que el saldo original, en cantidad por línea y total
medida 3 : me dio cantidades incorrectas según la línea, pero la cantidad total es correcta.
Por favor, si usted tiene alguna idea nueva cómo resolverlo .
gracias
@amitchandak - Syndicate_Admin
Administrator
Querido @amitchandak
Gracias por la medida , lo hice como sigue y funcionóSaldo 1 =CALCULAR(SUM('Prueba'[Saldo]),FILTRO(ALLSELECTED(Test),Test[Rank_By_Vendor]<=MAX(Test[Rank_By_Vendor])))
Muchas gracias por su ayuda