Skip to main content
Close announcements banner


The Include/Must_Include variable specifies a file that contains text that should be included in the script and evaluated as script code. You can store parts of your script code in a separate text file and reuse it in several apps. This is a user-defined variable.

Information noteThis variable supports only folder data connections in standard mode.




There are two versions of the variable:

  • Include does not generate an error if the file cannot be found, it will fail silently.
  • Must_Include generates an error if the file cannot be found.

If you don't specify a path, the filename will be relative to the Qlik Sense app working directory. You can also specify an absolute file path, or a path to a lib:// folder connection. Do not put a space character before or after the equal sign.

Information noteThe construction set Include =filename is not applicable.