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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set a variable

Hai,

How can i set a variable in Qv10.

Labels (1)
2 Replies
Not applicable
Author

Hi,

You can set the variable by using LET statment

Miguel_Angel_Baeyens
Support
Support

Hi,

Go to Settings, Variable Overview, and add a new variable. In the script, you can use both SET and LET the same way you did in v9:

SET vVariableName = 'Whatever'; // will store "Whatever"LET vVarableName2 = 1 + 1; // will store "2"


Hope that helps.