# Binary

The binary statement is used for loading the data from another Qlik Sense application or QlikView document, including section access data. Other elements of the application 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 folder data connection. This is required if the file is not located in the Qlik Sense working directory.<br><br>[Working directory](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/working-directory.htm)<br><br>Example: 'lib://Table Files/'<br><br>In legacy scripting mode, the following path formats are also supported:<br><br><ul> <li> <p>								absolute </p> <p><span><span>Example: </span></span><span>c:\data\</span> </p> </li> <li> <p>relative to the  application containing this script line.</p> <p><span><span>Example: </span></span><span>data\</span> </p> </li> </ul><br><br>[File system access restriction](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Sense_Hub/LoadData/file-system-access-restriction.htm) |
| filename | The name of the file, including the file extension .qvw or .qvf. |

Limitations:

You cannot use binary to load data from an application on the same Qlik Sense Enterprise deployment by referring to the application ID. You can only load from a .qvf file.

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Binary.htm)

#### Examples

| String | Description |
| --- | --- |
| `Binary lib://DataFolder/customer.qvw;` | In this example, the file must be in located in the Folder data connection. This may be, for example, a folder that your administrator creates on the Qlik Sense server. Click Create new connection in the data load editor and then select Folder under File locations. |
| `Binary customer.qvf;` | In this example, the file must be in located in the Qlik Sense working directory. |
| `Binary c:\qv\customer.qvw;` | This example using an absolute file path will only work in legacy scripting mode. |