Generates the count of non-null values for rows in each group that meet a specific condition.
NOTE: When added to a transformtransformation, this function is applied to the current sample. If you change your sample or run the job, the computed values for this function are updated. Transforms Transformations that change the number of rows in subsequent recipe steps do not affect the values computed for this step.
To perform a simple counting of non-nulls without conditionals, use the
COUNTA function. See COUNTA Function.
|D lang syntax|
|WrangleText||pivot value: countaif(entries, entryValidation == 'Ok') group:City limit:1|
countaif(entries, entryValidation == 'Ok')