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 can choose to edit a variable from the variables overview, when editing a sheet 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.Note: If you want to edit a variable that is defined in the script, you can either edit in the script, using the data load editor, or delete it from the script and then edit it in the variables overview.
From the list, select a variable that you want to edit and click @.
The variable expands and displays the following:
- Definition (if any)
- Description (if any)
- Tags (if any)
Edit the variable as desired:
You can open the expression editor and create the definition by clicking 3.
Cancel editing the variable, by pressing Esc.Note: If you click Ö the variable is deleted.
- Add new tags by typing and and click P or press Enter. Remove tags by clicking E.
For more information, see Working with the expression editor.
- Save the changes by clicking @. You can also save by clicking outside the variable's section in the variables overview or by clicking outside the variables overview window.
The variable is updated.