If you want to implement these function inside the load script, yes, you can, I compiling a document about variables, I already wrote and tested this section:
Multi-Parameters Function as Variables
We could define multi-parameters functions as well, we declare them with a LET in the load script, while we just create them as usual in the sheet’s variables section; in this example we consume the function at 3 different places:
Load script’s declaration.
Load script’s calculation.
Load script’s dynamic column.
We declared and consume a two parameters variable function in the script.
We did a calculation with it, printing its output to the load script log.
We reference the variable function as a column returning a dynamic value defined by the variable function.
We consumed the variable function in the UI as part of a Text and Image element.
Function Variables Summary
They are single line function.
They could be consumed anywhere in the application, script or user interface.
We haven’t seen them documented in the Qlik Help pages.
Hope this helps,
Arnaldo Sandoval A journey of a thousand miles begins with a single step.