Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
macin
Frequent Visitor

True issue close date from the list of statuses

Hi,

I hit the wall while trying to calculate true cycle time per JIRA issues.

 

What I managed to do

1. I started with the list like this

macin_0-1661634502717.png

 

I managed to get to the point where next to the start date, I have an end date using the index shift of records sorted by date (based on https://youtu.be/map7WjGPXoI)

 

macin_1-1661634549115.png

3. I mapped granular statuses to status category

macin_2-1661634744930.png

 

4. Now what I am struggling with is the next step. Observations

* Earliest start date - to know when something was created

* Earliest "In progress" occurence to understand when someone started working on the issue 

* Earliest "Done" occurence, which is not followed by any other statuses different than "Done"

 

I have a special case which I have no idea how to report on corectly:

macin_3-1661634973480.png

 

1. There is an early status change to "Done" on 18/05/22. But seeing the rest of the entries, I cannot take this initial Done as completion date, because the true completion date is 15/07/22. 

2. Additional challenge I have is that there may be many status changes within a day. I should report the latest one on the day only. Not sure how to approach this problem either.

 

I am not looking for step by step instructions (although anything like that would be nice). Could you direct me please to some blogs or videos, where similar challenge is well described?

 

I'd love to learn to solve above.

 

My final report should consist of number of started issues and number of closed issues per day and/or month.

 

Thanks!

1 REPLY 1
ronrsnfld
Super User
Super User

I don't think you need your intermediate steps, unless for some other reporting requirement.  Just GroupBy the Key and then apply your algorithm to each subtable, using a custom aggregation.

 

After you've done that, you can check on the started/finished numbers per month.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.