Skip to main content

Binary

The binary statement is used for loading the data from another QlikView document, including section access data. It does not load the layout information or variables.

We recommend that you only load data with the binary statement from documents with an optimized data model, that is, a data model that does not contain synthetic keys. If you load data from a document containing synthetic keys that only reference other synthetic keys, the entire data set may not be loaded.

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.

Synthetic keys

Syntax:  

binary [[path] filename ]

Arguments:  

Binary arguments
Argument Description
path

The path to the file, either absolute, or relative to the .qvw or .qvf file containing this script line. An absolute path is required if the file is not located in the QlikView path.

  • absolute

    Example: c:\data\

  • relative to the document containing this script line.

    Example: data\

filename

The name of the file, including the file extension .qvw or .qvf. If a file name is not supplied, the statement will load from the app itself. In other words, it will load from the app containing the binary statement.

Examples and results:  

Examples and results
Example Result

Binary ;

This will load data from the app itself.

Binary customer.qvw;

In this example, customer.qvw must be in located in the QlikView working directory.

Binary c:\qv\customer.qvw;

This example uses an absolute file path.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com