Applies to: CELONIS 4.0 CELONIS 4.2 CELONIS 4.3 CELONIS 4.4 CELONIS 4.5 CELONIS 4.6
Returns the first element of the specified column for each element of the given child table. An order by
expression can be set to define the order that should be used to determine the first element.
PU_FIRST can be applied on any data type. The data type of the result is the same as the input column data type.
If no value in the parent table exists for the element in the child table (either because all values of the parent table column are filtered out, or because no corresponding value exists in the first place), NULL will be returned.. NULL values in the parent_table.column are treated as if the row does not exist.
PU_FIRST ( child_table, parent_table.column [, filter_expression] [, order_by_expression] )
PU_FIRST ( DOMAIN_TABLE ( column1,...,columnN ), parent_table.column [, filter_expression] [, order_by_expression] )