# Unresolved issues over time

**URL:** <https://community.eazybi.com/t/unresolved-issues-over-time/11171>\
**Category:** Questions & Answers\
**Tags:** time-dimension, jira, hierarchy, calculatedmembers, mdx\
**Created:** [December 2, 2022, 9:34am UTC](https://community.eazybi.com/t/unresolved-issues-over-time/11171 "2022-12-02T09:34:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damian](https://community.eazybi.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Damian](https://community.eazybi.com/u/Damian)\
**Post date:** [December 2, 2022, 9:34am UTC](https://community.eazybi.com/t/unresolved-issues-over-time/11171/1 "2022-12-02T09:34:40Z")

</div>

Hello, I’m stuck with one report and I can’t find help on other similar topics here. I need to create a daily report showing:

- **how many all unresolved tickets were at the end of the day (issue history)** - I have it done with the formula (name “All open”):

**([Measures].[Issues history],**  
**[Transition Status.Category].[In Progress])**

- **how many unresolved tickets were at the end of the day more than 2 days (issue history)** - Here I have a problem and I do not know how to do it, example: today 02.12 I want to see how many aged tickets (the date of creating the ticket is more than 2 days from today) is unresolved  
Second example: on 22.11 I want to see how many aged tickets were unresolved over 2 days (the date of creating the ticket is over 2 days from 22.11)
- **same as above but unresolved tickets over 8 days**

it seems to me that I need Age interval for this but I try in this way and unfortunately it does not work:  
([Measures].[All open],  
[Age interval].[Aged more than 2 days])

aged more than 2 days looks like this:  
[Age interval].[002 - 900]

I don’t know how to go about it, how to start it. Please help

Thank you

My table looks like this (over 2 days does not work properly):

 ![image](https://community.eazybi.com/uploads/default/original/2X/7/7f2b7a3e2b8d256de200ecd8a800dafd86c93e2f.png)

---

<div class="post-metadata">

**Author:** ![martins.vanags](https://community.eazybi.com/user_avatar/community.eazybi.com/martins.vanags/32/8905_2.png) [@martins.vanags](https://community.eazybi.com/u/martins.vanags)\
**Post date:** [December 7, 2022, 3:05pm UTC](https://community.eazybi.com/t/unresolved-issues-over-time/11171/2 "2022-12-07T15:05:08Z")

</div>

@Damian

You can try this formula when creating new calculated measure:

```auto
CASE WHEN
[Time].CurrentHierarchyMember.level.name = "Day"
THEN
Sum(
Filter(
DescendantsSet([Issue].CurrentHierarchyMember,[Issue].[Issue]),
IsEmpty([Issue].CurrentHierarchyMember.get('Resolved at'))
AND
Datediffworkdays(
DatewithoutTime([Issue].CurrentHierarchyMember.get('Created at')),
[Time].CurrentHierarchyMember.StartDate
)>2
),
(
[Measures].[Issues history],
[Transition Status.Category].[In progress]
)
)
END

```

It will count Issues history in In progress category at the end of each day with a condition that the issue was created more than 2 days before a particular day in the report.

Martins / eazyBI

---

<div class="post-metadata">

**Author:** ![Damian](https://community.eazybi.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Damian](https://community.eazybi.com/u/Damian)\
**Post date:** [December 8, 2022, 7:00am UTC](https://community.eazybi.com/t/unresolved-issues-over-time/11171/3 "2022-12-08T07:00:40Z")

</div>

thank you once again Martins
