In our project we have a one way workflow, that is, does not allow to return ro previous status. Now I have to create a report that shows how many itens had transiotioned to a certain status and was not resolved yet in that period of time.
For example:
Issue-1
Transitioned date - 11/15/2022
Resolved date - 02/13/2023
Issue 2
Transitioned date - 12/14/2022
Resolved date -
Issue 3
Transitioned date - 01/16/2023
Resolved date - 02/15/2023
Issue 4
Transitioned date - 03/05/2023
Resolved date -
So my report would be something like:
|Nov - |1|
|Dec - |2|
|Jan - |3|
|Fev - |1|
|Mar - |2|
|Apr - |2|
|May - |2|
For it i used this code:
Count(
Filter(Descendants([Issue].CurrentMember, [Issue].[Issue]),
– filter open issues in period using issue properties Created date and Resolution date only
DateBeforePeriodEnd(
([Measures].[Transition to status last date], [Transition Status].[SELECIONADO PARA DESENVOLVIMENTO]),
[Time].CurrentHierarchyMember) AND
NOT DateBeforePeriodEnd(
[Issue].CurrentMember.get(‘Resolved at’),
[Time].CurrentHierarchyMember)
))
The problem is, using [Measures].[Transition to status last date] is considered just itens transitionet in that period.
So my report apear like:
Month | Amount itens transitioned and Not Resolved |
---|---|
Nov - | 1 |
Dec - | 1 |
Jan - | 1 |
Fev - | 0 |
Mar - | 1 |
Apr - | 0 |
May - | 0 |
How i can filter itens that the transition date to a specific status is before one date for example, but considering every previous period of time.
Thanks