System functions
System functions provide functions for accessing system, device and Qlik Sense app properties.
Use the drop-down on each function to see a brief description and the syntax of each function. For some of the functions, you can get further details about that specific function by clicking the function name in the syntax description.
This function returns a string containing the author property of the current app. It can be used in both the data load script and in a chart expression.
When used in a dimension expression, CalcDim() overrides the engine's automatic interpretation of how to internally handle the expression. Specifically, the function prevents a new internal field from being created in the data model. Instead, selections made in the app are treated as selections in applicable fields from the original data model.
calcdim(expr)
This function returns the full Qlik Sense engine version as a string.
GetObjectField() returns the field expression of the dimension. Index is an optional integer denoting the dimension that should be returned.
GetObjectField([index])
The GetSysAttr() function is used to return information about the tenant and space in which an app is located. With the GetSysAttr() function, you can evaluate the tenant ID and name, space ID and name, and other details about the environment where the app resides. This function simplifies space and tenant identification of a Qlik Sense app that might be moved between different environments. The function makes it easy to identify the specific environment you are working in. This is particularly useful during the development, testing, acceptance and production (DTAP) stages of an app's life cycle.
GetSysAttr(name)
The GetUserAttr() function returns information for the user accessing an app. It can be used in both the data load script and in a chart expression.
GetUserAttr(name)
This function returns - 1 (True) if the current reload is partial, otherwise 0 (False).
The InObject() chart function evaluates whether or not the current object is contained inside another object with the ID specified in the function argument. The object can be a sheet or a visualization.
InObject(id_str)
The ObjectId() chart function returns the ID of the object in which the expression is evaluated. The function takes an optional argument specifying which type of object the function concerns. The object can be a sheet or a visualization. This function is only available in chart expressions.
ObjectId([object_type_str])
This function returns a string containing the name of the user that is currently connected. It can be used in both the data load script and in a chart expression.
OSUser( )
This function returns the full Qlik Sense version and build number as a string.
This function is deprecated and replaced by EngineVersion().
StateName() returns the name of the alternate state of the visualization in which it is used. StateName can be used, for example, to create visualizations with dynamic text and colors to reflect when the state of a visualization is changed. This function can be used in chart expressions, but cannot be used to determine the state that the expression refers to.