function

The function for the FilterAggMetrics.