Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody
you know how to convert this expression ? i wanna delete the if and use set analysis, what i have a total, i dont know what to do
the expression is here
sum({1 <AÑO={$(=MAX (AÑO))},MES_AÑO_NUMERO={"<=$(=NUM(MAX (MES_AÑO_NUMERO)))"}>} total if(AGRUPACION_CALIFICACION<>'1' and ES_RENUNCIA=2,$(M_EMPLEADOS_BAJA),0)) |
Try with
sum({1 <AÑO={$(=MAX (AÑO))},MES_AÑO_NUMERO={"<=$(=NUM(MAX (MES_AÑO_NUMERO)))"}, AGRUPACION_CALIFICACION={*}-{'1'}, ES_RENUNCIA={2}>}
total $(M_EMPLEADOS_BAJA),0)
maybe
sum({1<
AÑO={$(=MAX (AÑO))},
MES_AÑO_NUMERO={"<=$(=NUM(MAX (MES_AÑO_NUMERO)))"},
AGRUPACION_CALIFICACION-={1},
ES_RENUNCIA-={2}
>}
total $(M_EMPLEADOS_BAJA) )