Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hi all , i need your help regarding Qlik Sense Variables?

in the Load Script

I mentioned Variables like this

Let vmaxyear= 'max(Year)';
Let vpreyear='max(Year)-1';

so that in text object I wrote an expression  like this

=sum({$ <$(vmaxyear) >}Sales) and

another text object expression like this

  = sum({$ <$(vpreyear) >}Sales),

here I am getting same value for both the varaibles

Can you tell me how can I write an expression for

current year- previous year / previous year expression by using above variables

0 Replies