Skip to main content
Announcements
Qlik and Talend Support Cases are now opened in the same place.

QlikView: Variable definition disappears after reload and distribution

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Nao_Baba
Support
Support

QlikView: Variable definition disappears after reload and distribution

Last Update:

Jul 23, 2024 7:30:20 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jul 23, 2024 7:30:20 AM

A variable definition (which is created in qvw document under Setting -> Variable Overview -> Add) disappears after distribution. This behavior is working as designed. During reload and distribution the document is opened without data - for optimization reasons. During that time variables defined in the document are not available.

Conditions:

  • Variables are defined in documents. (under Settings -> Variable Overviews -> Add)
  • [+] checkbox is checked.

variable difinition.png

Workaround One

Create and define a variable in the script, not in the document.

e.g. 

 

SET Variable1=today();

 

Workaround Two

Uncheck [+] checkbox in the Variable Overview.

  1. Navigate to Settings -> Variable Overview...

    variable overview.png

  2. Uncheck [+] from the checkbox.

    uncheck + tickbox.png

     

Cause

Product Defect ID: QV-25116

Related Content 

Script variables 

Environment

Labels (1)
Version history
Last update:
‎2024-07-23 07:30 AM
Updated by: