---
title: "July 20, 2021"
canonical: "https://support.appfire.com/space/RFC/783942007/July%2020%2C%202021"
format: markdown
---
> Macro (aura-html)

# Aggregation by Smart Filters in Statistics and Flexi Charts Gadgets

<span style="color: #172b4d">The </span><span style="color: #172b4d">[Rich Filter Statistics](https://appfire.atlassian.net/wiki/spaces/RFCDOC/pages/783941781)</span><span style="color: #172b4d">, </span><span style="color: #172b4d">[Two Dimensional Statistics](https://appfire.atlassian.net/wiki/spaces/RFCDOC/pages/783941803)</span><span style="color: #172b4d"> and </span>[Flexi Charts](https://appfire.atlassian.net/wiki/spaces/RFCDOC/pages/783941863) gadgets can now aggregate issue data by *[smart filters](https://appfire.atlassian.net/wiki/spaces/RFCDOC/pages/783941713)* in addition to issue fields.

The *smart filters* defined in the selected *rich filter* are now available in the options for the Statistic Type field in the configuration form of the gadgets. When used in this manner, *smart filters* behave like *smart fields* and are displayed in the table view of the gadgets with the colors defined in their configuration.

Here's an example of one-dimensional statistics with Issue Count and Story Points aggregated by a *smart filter* named High Level Status:

![image](media://52144982-9c78-4b26-bbe9-81ac25a15834)

The feature is, of course, supported in the charts ([quick charts](https://appfire.atlassian.net/wiki/spaces/RFCDOC/pages/783941781/The+Rich+Filter+Statistics+Gadget#section3) and [flexi charts](https://appfire.atlassian.net/wiki/spaces/RFCDOC/pages/783941863)):

![image](media://0021bc81-2fd0-4952-afa7-818b3d781b99)