IAppAddFieldFromExpressionAsyncT Method (AsyncHandle, FuncResponse, T, String, String) |
Adds a field on the fly.
The expression of a field on the fly is persisted but not its values.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax Task<T> AddFieldFromExpressionAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
string name,
string expr
)
Function AddFieldFromExpressionAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
name As String,
expr As String
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - name
- Type: SystemString
Name of the field. - expr
- Type: SystemString
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.
Type Parameters
- T
Return Value
Type:
TaskTSee Also