Skip to main content

Binary

The binary statement is used for loading the data from another Qlik Sense app or QlikView document, including section access data. Other elements of the app are not included, for example, sheets, stories, visualizations, master items or variables.

Only one binary statement is allowed in the script. The binary statement must be the first statement of the script, even before the SET statements usually located at the beginning of the script.

Syntax:  

binary [[path] filename ]

Arguments:  

Arguments
Argument Description
path

The path to the file which should be a reference to a data connection to a file share. Not required if filename is an app ID in a space.

filename

The name of the file, including the file extension .qvw or .qvf.

It can also be the app id of an app in a space in your tenant. Open an app to view the app id in the URL.

If a file name or app id is not supplied, the statement will load from the app itself. In other words, it will load from the app containing the binary statement.

Limitations:  

  • You cannot use binary to load data from an app in a managed space. The app must be in a personal space or a shared space.

  • You cannot upload QVW or QVF files to the /DataFiles folder. Instead, you can upload the file to a file share, for example AWS S3 or Google Drive, and then load the data from a data connection connected to the file share.