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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors