Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
warrentk80
Creator
Creator

variable analysis on sets

Goodmorning everyone

I need to insert a formula setanalysys an indication of the reference year to take charge.

The field is called year but instead enter the year on the formula

{$ <Year = {'2016'}>}

I would use a var_anno variable set in 2016 and enter into setanalysys the variable.

I tried to insert

{$ <$ Var_anno Year = {}>} but it does not work.

what is the syntax?

Thank you all

Andrew

4 Replies
Anonymous
Not applicable

try

{$ <$Year = {'=$(=Var_anno)'}>}

ajsjoshua
Specialist
Specialist

hi

Syntax: <Dimension = {$(NameVariable)} >

Or <Dimension = {$(=NameVariable)} >

(with or without the = sign in front of the variable)

ex:

{<Year={$(var_anno)}>}

Regards,

Joshua.

arasantorule
Creator III
Creator III

Hi,

Can you try below.

Year={'=$(Var_anno)'}

Thanks

Kushal_Chawda

try this

{$ <Year = {"$(=Var_anno)"}>}