Editing a variable

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:

  1. 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.
  2. 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)
  3. Edit the variable as desired:

    • You can open the expression editor and create the definition by clicking 3.

    • For more information, see Working with the expression editor.

    • 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.
  4. 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.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?