Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
stabben23
Partner - Master
Partner - Master

Variable from Set analysis used in script

Hi,

I create a variable in  Variable Overview, this is a set analysis expression and gives me the correct value in a text box using $- expansion. But when I try to use it inside script view it gives me wrong values, how should I solv this?variable.pngvariable_script.png

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Define the variable in the script

Gysbert_Wassenaar

You cannot use set analysis in the script. That's why it doesn't work and will never work.


talk is cheap, supply exceeds demand
Not applicable


Hi,

SetAnalysis Concept won't work in script.it will work only in UI part.You can create a variable with using Let command with the Same logic

stabben23
Partner - Master
Partner - Master
Author

Ok, so in the script it see the set expression it self and not the result of the set expression.