# Reporting function not working as expected

**URL:** <https://community.zammad.org/t/reporting-function-not-working-as-expected/3346>\
**Category:** Technical assistance\
**Created:** [October 28, 2019, 12:26am UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346 "2019-10-28T00:26:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattPettigrove](https://community.zammad.org/letter_avatar_proxy/v4/letter/m/dfb087/32.png) [@MattPettigrove](https://community.zammad.org/u/MattPettigrove)\
**Post date:** [October 28, 2019, 12:26am UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346/1 "2019-10-28T00:26:22Z")

</div>

### Infos:

- Used Zammad version: 3.1.x
- Used Zammad installation source: (source, package, …) package
- Operating system: Centos 7
- Browser + version: Chrome 77.0.3865.120 & Firefox 69.0.3 (64-bit)

### Expected behavior:

- Receive a list of all tickets as per selection criteria in reporting

### Actual behavior:

- Random return of tickets not matching criteria

### Steps to reproduce the behavior:

- Have created a new profile and can see all the tickets that I want to return.  
I then proceed to reports, select closed, year and the created profile. Can see the graph of closed tickets by month, but none appear below that to be downloaded.

I then start changing the time period, to month or week and randomly tickets will appear, a few at time, they stay even when I change the criteria.

At most have been able to get 10 to appear for download, expecting just over to 90 for the year.

Need the data for a compliance audit this week.

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [October 30, 2019, 9:34am UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346/2 "2019-10-30T09:34:14Z")

</div>

Please provide a bit more information:

- Please provide the configured reporting profile in its full glory.
- If it contains a custom object, please provide the full configuration of the object (especially if it’s a select or tree select).

The above can have various reasons.

---

<div class="post-metadata">

**Author:** ![MattPettigrove](https://community.zammad.org/letter_avatar_proxy/v4/letter/m/dfb087/32.png) [@MattPettigrove](https://community.zammad.org/u/MattPettigrove)\
**Post date:** [October 30, 2019, 11:21pm UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346/3 "2019-10-30T23:21:01Z")

</div>

Thank you for responding.

I thought the profile was simple and didn’t exclude anything, it’s “Created At”, “After (absolute)”,“1/1/2018”,“8:00am”

That returns just under 100 tickets which is what I was expecting, selecting that profile within Reporting, with “Closed”, “2019” and I’m not seeing any tickets.

 ![06%20am](https://community.zammad.org/uploads/default/original/2X/1/1d472882416a906975cb2d59e6c71efb2603f859.png)

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [October 31, 2019, 2:28pm UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346/4 "2019-10-31T14:28:25Z")

</div>

> [@MattPettigrove](#):
>
> That returns just under 100 tickets which is what I was expecting, selecting that profile within Reporting, with “Closed”, “2019” and I’m not seeing any tickets.

That can be perfectly possible, because if you created those tickets within that time period, these tickets will be shown in “Created”.

Zammad mixes the display on this page. While it will show you (via the tabs) what exactly was done with the ticket at that moment, it will show you the CURRENT state in the list below.

This is why you’ll see open and closed tickets within created, like you could see in closed as well.

---

<div class="post-metadata">

**Author:** ![MattPettigrove](https://community.zammad.org/letter_avatar_proxy/v4/letter/m/dfb087/32.png) [@MattPettigrove](https://community.zammad.org/u/MattPettigrove)\
**Post date:** [November 1, 2019, 5:28am UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346/5 "2019-11-01T05:28:23Z")

</div>

Many thanks for the hint and that does make a lot of sense, updated the profile from “created at” to “closing time” from 1/1/2018, I see 90+ tickets returned, but when I apply the profile to the same selection in my prior screenshot, no tickets show. Click around and change Year to month and I have a few returns as I click back through the months, but not the total I’d expect if I go Jan, Feb, Mar adding them all together etc.

Very weird!

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [November 1, 2019, 10:13am UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346/6 "2019-11-01T10:13:06Z")

</div>

Odd, could you please -just to make sure- please open the developer console of your browser while clicking around your reporting?

Any errors showing up there?

---

<div class="post-metadata">

**Author:** ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)\
**Post date:** [February 29, 2020, 10:13am UTC](https://community.zammad.org/t/reporting-function-not-working-as-expected/3346/7 "2020-02-29T10:13:08Z")

</div>

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
