Regular statements within the Qlik Sense app script are used to load and transform data. This article will list the regular statements and their purpose. Click on the statement to see further information such as the syntax and an example. 

Note that regular statements can span over any number of lines. They must always end with a ‘;’.

AliasAn ‘alias’ statement is used to rename a field to a specified name each time it occurs in the load script.
See more
AutonumberThe ‘autonumber’ statement creates a unique integer value for each unique value in a field.
See more
BinaryThe ‘binary’ statement is used to load data from another Qlik Sense app.
See more
CommentThe ‘comment’ statement allows you to display metadata against fields. You can specify fields and the type of comment that should be noted on load.
See more
ConnectThe ‘connect’ statement opens a connection to a general database.
See more
DeclareThe ‘declare’ statement is for defining field definitions. Field definitions can be relations between fields or functions.
See more
DeriveAfter using a ‘declare’ statement to define fields, the ‘derive’ statement is used to generate the fields. 
See more
Directory‘Directory’ is used to define the directory path where the load files should be taken from in subsequent ‘load’ statements. It is used before the ‘load’ statements.
See more
DisconnectThe ‘disconnect’ statement terminates an open connection.
See more
Drop fieldThis statement allows you to delete a field from a previously loaded table in memory. Note the statement drops the field in the data model, it doesn’t delete the field in the data source. 
See more
Drop tableThis statement allows you to delete a previously loaded table in the data model.
See more
ExecuteThis statement allows you to run other programs during the app reload.  
See more
FlushlogThis is a logging statement. It forces Qlik Sense to write the script buffer to the log file.
See more
ForceThis statement forces Qlik to read field names in a certain way: capitalised, uppercase, lowercase or mixed case. The ‘force’ statement must be before subsequent load statements.
See more
LoadThe ‘load’ statement is how data is loaded into Qlik.
See more
LetThe ‘let’ statement is used to define variables.
See more
Loosen tableThis statement forces Qlik to disconnect fields within specific tables in the data model. It is the equivalent of loading each field in the table as a standalone disconnected table.
See more
Map… usingThe ‘map… using’ statement allows the mapping of multiple fields with a previously defined mapping table. 
See more
NullAsValueThe ‘NullAsValue’ statement converts NULL values in given fields to a specified value. 
See more
NullAsNullThe ‘NullAsNull’ statement turns off previously defined NULL conversions through the ‘NullAsValue’ statement. 
See more
QualifyUsing the ‘qualify’ statement gives the specified fields a prefix of the table name.  
See more
RemUsing a ‘rem’ statement turns the script into a comment. Placing text between a ‘rem’ statement and a ‘;’ is equivalent to placing text between /**/.
See more
Rename fieldThis statement renames specified fields.
See more
Rename tableThis statement renames specified tables.
See more
SectionThe ‘section’ statement defined whether subsequent ‘load’ or ‘select’ statements are data or access rights.
See more
SelectThe ‘select’ statement is used to pull data through standard SQL statements.
See more
SetThe ‘set’ statements are used for defining variables.
See more
SleepThe ‘sleep’ statement pauses the script execution for a specified amount of time.
See more
SQLThe ‘SQL’ statement allows you to send a command through a database connection.
See more
SQLColumnsThe ‘SQLColumns’ statement returns fields containing information about database columns.
See more
SQLTablesThe ‘SQLTables’ statement returns fields containing information about database tables.
See more
SQLTypesThe ‘SQLTypes’ statement returns fields containing information about types of a data source.
See more
StarA star character can be used for representing all values. This can be set to a different character by using the statement ‘star’ which will affect all subsequent ‘load’ and ‘select’ statements. 
See more
StoreThe ‘store’ statement creates a file that is stored in a specified location.
See more
TagThe ‘tag’ statement allows tagging of fields and tables with specified tags.
See more
TraceThe ‘trace’ statement writes a string to the script execution log. Variables can also be written to the log using ‘trace’.
See more
UnmapThe ‘unmap’ statement disables the previously used ‘map’ statement. The statement will be applicable to subsequently loaded fields only.
See more
UnqualifyThe ‘unqualify’ statement disables the previously used ‘qualify’ statement.
See more
UntagThe ‘untag’ statement removes tags from specified fields or tables.
See more