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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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
MVP
MVP

try this

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