Current Function

  • Updated

Returns the value of a field within the context of current expression.

Syntax

 

Returns the value of a field within the context of current expression.

 

Current(field)

 

 

Arguments:

 

 

 

field

Field - A field within the current expression root context.

Remarks

  • Used to access a field in the context of the current expression, which may have the same name as a field in the context of the collection member when authoring an aggregate function. For example, it may be used within a filter expression of a Sum function that is nested within another aggregate expression, to access a field in the context of the root expression.
  • May only be used from within the context of a function argument, it is not applicable to use as a standalone function.
  • Example: Sum(Collection1, Field2, Field1 > Current(Field1)) returns 24.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.