Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
¡Hola a todos! cómo puedo sumar PRODSERIE sin doblar (para SERIE). Me necesita obtener el resultado: SERIE-1(100) + SERIE-2(300)+SERIE-3(300)-700 para El tipo 0 y SERIE-4(300) 300 para el tipo 1;
Id | Serie | PRODSERIE | Tipo | OTRO VALOR |
1 | 1 | 100 | 0 | 1 |
2 | 1 | 100 | 0 | 50 |
3 | 2 | 300 | 0 | 23 |
4 | 2 | 300 | 0 | 254 |
5 | 2 | 300 | 0 | 234523 |
6 | 3 | 300 | 0 | 400 |
7 | 4 | 300 | 1 | 1545 |
8 | 4 | 300 | 1 | 345345 |
Trate como
sumx(summarize(table,table[SERIE], "_1",maxX(filter(Table, (Table[TYPE]-0 && table[SERIE]<-3?
(Tabla[TIPO]-1 && tabla[SERIE]-4)) Tabla [PRODSERIE])[_1])
Intente usar RESUME como:
Medida ?
SUMX(
RESUMEN('Tabla',[SERIE],"__Value",AVERAGE([PRODSERIE])),
[__Value]
)