App AddFieldFromExpression Method Qlik Sense .NET SDK - API Reference

Adds a field on the fly.

The field is added in the database model but the change is not persistent. If the app is closed, the field added on the fly does no longer exist.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

public bool AddFieldFromExpression(
	string name,
	string expr
)

Parameters

name
Type: OnlineSystem String
Name of the field.
expr
Type: OnlineSystem String
Expression value. It is not possible to use all aggregation functions. For example, you cannot add a field on the fly with an expression that uses the Sum or Count aggregation functions.

Return Value

Type: OnlineBoolean

Implements

IApp AddFieldFromExpression(String, String)
See Also