Using variables in expressions
A variable in Qlik Sense is a named entity, containing a data value. When a variable is used in an expression, it is substituted by its value or the variable's definition.Variables are defined using the variables overview or in the script using the data load editor.
You open the Variables overview by clicking in the edit bar when editing a sheet.
The following actions are available in the variables overview:
- Create a new variable.
-
Edit the selected variable.
- Delete the selected variable.
Getting an overview of all variables in an app
You can get an overview of all variables in an unpublished app.
Do the following:
-
When editing a sheet, click in the edit bar on the sheet to open the variables overview.
The variables overview opens and displays a list of all variables in the app and their definitions (if any).
-
Select a variable in the list that you want to view details of.
The variable expands and displays detailed information about the variable, if any: definition, description and tags.
Information noteWhen a variable is created or edited, all fields except the name field can be left empty.