# Running Reports on User Activities for Specific Time Periods

**URL:** https://meta.discourse.org/t/running-reports-on-user-activities-for-specific-time-periods/94915
**Category:** Support
**Created:** [August 16, 2018, 8:21pm UTC](https://meta.discourse.org/t/running-reports-on-user-activities-for-specific-time-periods/94915 "2018-08-16T20:21:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ArMK](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@ArMK](https://meta.discourse.org/u/ArMK)
#### Post date: [August 16, 2018, 8:21pm UTC](https://meta.discourse.org/t/running-reports-on-user-activities-for-specific-time-periods/94915/1 "2018-08-16T20:21:04Z")

</div>

Admin can currently run report on user activity and download as CSV file… extremely useful for compiling and analyzing data. However, the current reports show data accumulated over all time. I’m wondering if there is a way to run reports for specific periods of time. For example, I want to run a report on user activities for a 3-month period like January 1, 2017 to March 31, 2017. Is this currently possible?

(Note: I didn’t want to unnecessarily bump [this topic](https://meta.discourse.org/t/reports-on-user-activity/26525), please feel free to merge if appropriate)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [August 16, 2018, 9:26pm UTC](https://meta.discourse.org/t/running-reports-on-user-activities-for-specific-time-periods/94915/2 "2018-08-16T21:26:39Z")

</div>

As was answered in that topic  
[https://meta.discourse.org/t/reports-on-user-activity/26525/10?u=mittineague](https://meta.discourse.org/t/reports-on-user-activity/26525/10)

Many tables have datetime fields. By writing a query that does JOINs, sub SELECTs etc. on the tables of interest the query can use GROUP BY to get all kinds of result sets.

Because there are so many possible queries that could be run it’s not realistic to attempt having all of them as Reports. But I imagine if enough people want something that is not a stock Report there is a chance it could become one.

AFAIK, there are plans to allow better exposure of results from custom queries, but it’s still a ways into the future.

---

<div class="post-metadata">

### Author: ![ArMK](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@ArMK](https://meta.discourse.org/u/ArMK)
#### Post date: [August 16, 2018, 11:46pm UTC](https://meta.discourse.org/t/running-reports-on-user-activities-for-specific-time-periods/94915/3 "2018-08-16T23:46:01Z")

</div>

Thanks @Mittineague. I was wondering about a native way to do this. Maybe enough people ask for the same thing. For now, I will resort to the plug-in for the time being. I’m just not too familiar with the coding part writing out the queries 🙂

---

<div class="post-metadata">

### Author: ![Jim.Morrison](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jim.morrison/32/162161_2.png) [@Jim.Morrison](https://meta.discourse.org/u/Jim.Morrison)
#### Post date: [October 1, 2019, 11:13pm UTC](https://meta.discourse.org/t/running-reports-on-user-activities-for-specific-time-periods/94915/4 "2019-10-01T23:13:24Z")

</div>

bumping for Interest in the same type of reporting feature on specific users for a day by day basis.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 30, 2023, 5:55pm UTC](https://meta.discourse.org/t/running-reports-on-user-activities-for-specific-time-periods/94915/5 "2023-05-30T17:55:20Z")

</div>


