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: 
Not applicable

SET Analyst

qlw'm new, I need to figure out how to pass variables: I declared a variable in a slider object would need to convert this variable in a set year analyst, and apply the function year but something wrong, I report what said:

It works well
(Sum ({$} <Anno_S_A_Prg={2012}> Portafoglio_S_A_Prg))

If I pass the variable does not work
(Sum ({$} <Anno_S_A_Prg={year(V_DATA_FIN)}> Portafoglio_S_A_Prg))

V_DATA_FIN is a variable declared at first and takes different values ​​using a slider object. If used alone it works and shows the values ​​correti insert in the set if the analyst does not give me the correct values

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi,

Let try (Sum ({$} <Anno_S_A_Prg={$(=year(V_DATA_FIN))}> Portafoglio_S_A_Prg))

Regards,

Sokkorn

View solution in original post

1 Reply
Sokkorn
Master
Master

Hi,

Let try (Sum ({$} <Anno_S_A_Prg={$(=year(V_DATA_FIN))}> Portafoglio_S_A_Prg))

Regards,

Sokkorn