Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

SET análisis acumulado Max_Mes-1

Hola comunidad.

En Set análisis esto me funciona muy bien. "Acumula al mes máximo -1 "

SUM( {$<MES = {"<=$(#=MAX(MES-1))"}, AÑO = {"$(#=MAX(AÑO))"}>} CANTIDAD )

Que puedo hacer para el mismo periodo, pero en año anterior.

Lo siguiente no funciona!!! 

SUM( {$<MES = {"<=$(#=MAX(MES-1))"}, AÑO = {"$(#=MAX(AÑO-1))"}>} CANTIDAD )

Todo apoyo se agradece. Saludos

1 Solution

Accepted Solutions
felipedl
Partner - Specialist III
Partner - Specialist III

Hello Victor,

Attached a QVW with some data, getting the same month for both years.

Regards,

Felipe.

View solution in original post

3 Replies
rubenmarin

Hola Victor, puedes probar sacando el -1 del max:

SUM( {$<MES = {"<=$(#=MAX(MES)-1)"}, AÑO = {"$(#=MAX(AÑO)-1)"}>} CANTIDAD )

Sergey_Shuklin
Specialist
Specialist

Saludos, Victor!

Tal vez en el año anterior no es el mes?

Hay una oportunidad para mostrar los datos en bruto?

felipedl
Partner - Specialist III
Partner - Specialist III

Hello Victor,

Attached a QVW with some data, getting the same month for both years.

Regards,

Felipe.