I've the variable varCurrentYear
varCurrentYear = Year(Today())
And I wrote this set analysis expression
The result it’s not correct. By the way If the variable is declared in this way
varCurrentYear = 2014
The result is correct.
Why? Thank's
I've the variable varCurrentYear
varCurrentYear = Year(Today())
And I wrote this set analysis expression
The result it’s not correct. By the way If the variable is declared in this way
varCurrentYear = 2014
The result is correct.
Why? Thank's
I know it looks strange, but you have to write:
The QlikView parser can evaluate the double-nested variable for some reason.
I'd use:
=Sum({<Year={$(=varCurrentYear)}>}Orders)
I'd use
resp without quotes if varCurrentYear is numeric
See http://tools.qlikblog.at/SetAnalysisWizard/?sa=MCKA
Regards Stefan