The CURRENTGROUP function gives access to the group being considered in the GROUPBY function.
Syntax
CURRENTGROUP()
Parameters
The CURRENTGROUP function does not accept arguments.
Returned value
The CURRENTGROUP function returns a subset of the table included as the first argument of the GROUPBY function, made up of those records that belong to each of the groups being considered in the aggregation process.
Related functions
Category
Other functions