Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

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

Tags (2)
1 Solution

Accepted Solutions
Sokkorn
Honored Contributor

Re: SET Analyst

Hi,

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

Regards,

Sokkorn

1 Reply
Sokkorn
Honored Contributor

Re: SET Analyst

Hi,

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

Regards,

Sokkorn

Community Browser