Technical blog – using a sub routine for incremental database extract in Qlik Sense

We find a very useful feature in the script in Qlik is the ability to create sub routines which can then be executed from other parts of the script.  The sub routines can also have parameters passed into them.

The syntax for the subroutine is as follows

Sub <routinename> (parameter1, parameter2…)

Code to Execute

End Sub

The syntax to call a subroutine is as follows

Call <routinename> (parameter1, parameter2);

Download the blog for more information and examples.

Download