# Filter or create statistics

**URL:** https://meta.discourse.org/t/filter-or-create-statistics/214393
**Category:** Data & reporting
**Created:** [January 10, 2022, 3:48pm UTC](https://meta.discourse.org/t/filter-or-create-statistics/214393 "2022-01-10T15:48:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![warri0r](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/warri0r/32/243916_2.png) [@warri0r](https://meta.discourse.org/u/warri0r)
#### Post date: [January 10, 2022, 3:48pm UTC](https://meta.discourse.org/t/filter-or-create-statistics/214393/1 "2022-01-10T15:48:14Z")

</div>

Is there a way to filter statistics by country or to create a new statistic for every country? Maybe a Plugin?  
I need a comparison of which country is the most active.

Thanks.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [January 10, 2022, 6:10pm UTC](https://meta.discourse.org/t/filter-or-create-statistics/214393/2 "2022-01-10T18:10:28Z")

</div>

Could stats by Google Analytics do the job?

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 11, 2022, 5:46pm UTC](https://meta.discourse.org/t/filter-or-create-statistics/214393/3 "2022-01-11T17:46:53Z")

</div>

Have you looked at [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin? It may be able to be setup for this.

> [@Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566):
>
> discourse2Summary Discourse [Data Explorer](https://meta.discourse.org/t/32566?silent=true) allows you to make SQL queries against your live database, allowing for up-to-the-minute stats reporting.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.information_source If you’re looking for examples or support for any custom queries, you can find lots of topics in our #data-reporting category under the #sql-query tag. If there’s not one to suit your par…
