Variables overview
A variable in Qlik Sense is a container storing a static value or a calculation, for example a numeric or alphanumeric value. When you use the variable in the app, any change made to the variable is applied everywhere the variable is used. Variables are defined using the variables overview, or in the script using the data load editor, where the variable acquires its value from a Let, Set or other control statements in the data load script.
You open the Variables overview by clicking Ò in the edit bar when editing a sheet.
The variables overview lists all the variables that you can use in the expressions that are used for making calculations based on the data in the app. When used, the variable is substituted by its value. Variables are case sensitive.
A | Create a new variable. | Creating a variable |
B |
Click the name of a variable to display its details and show the delete and edit buttons. |
|
C | Ö Delete the variable. Only possible for variables not defined in the script. | Deleting a variable |
D | @ Edit the variable. Only possible for variables not defined in the script. | Editing a variable |
E | Definition of the selected variable. Optional. | |
F | Description of the selected variable. Optional. | |
G | Tags applied to the selected variable. Optional. | |
H |
8 indicates that the variable is defined in the script. |
Working with variables in the data load editor |
I | Close the variables overview. |
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!