Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, Im trying to get the last month period. I have this but is not working.
sum({$< Año={'$(xAñoMax)'}, Mes={'$(xMesMax)'}, Period= >} Sum(If(Field1 <> 1, Total)))
Thanks.
Hi,
Try this:
Sum({$<Año={$(=xAñoMax)},Mes={$(=xMesMax)},Period= ,Field1-={1}>} Total)
Make sure
Año and xAñoMax -> have same format
Mes and xMesMax -> have same format
Regards,
Sokkorn
Lo que debes hacer es crear una variable que calcule la fecha máxima
vMaxPeriodo = Max(Periodo)
y utilizar esta variable en el Análisis de conjuntos
Sum({<Periodo = {'$(vMaxPeriodo)'}>} Total)