I have to compare the sales in two different years in qlikview.
The set analysis done like the help suggest doesn't work
=sum( {$<ID_Ac_EDIZIONE_WI={$(=only(ID_Ac_EDIZIONE_WI)-1)}>} ORC_Mo_ImponibileRiga_Attuale)
it gives me a column of zeros;
modifing it like this
=sum( {1<ID_Ac_EDIZIONE_WI={$(=only(ID_Ac_EDIZIONE_WI)-1)}>} ORC_Mo_ImponibileRiga_Attuale)
it creates two different rows, each one per year.
Can someone help me?