Forum Discussion
Deviation & comitted calcuation
I am trying to calculate Deviation & comitted calculation
Comitted graph: x-axis : number of Tasks closed on last day (11/7/23) of iteration from committed (closed state ) / (number of tasks planned to close on first day (10/25/23)) Vs y-axis : Iteration number e.g: 5/14*100 = 35.71% (only first 5 items are closed and rest of them are newly added)/(only 14 are comitted on 25th OCT as 15 & 16 are already closed, exclude close state for count)
Deviation graph: number of tasks added after start day / number of committed task Vs Interation number e.g: 9/14 = 64.28% (9 = 21 to 29 are added to iteration after start date 25 Oct)
Table 1:
| Iteration | ID | State | Closed Date | calendar Date |
| IT1 | 1 | Ready | null | 10/25/2023 |
| IT1 | 2 | Ready | null | 10/25/2023 |
| IT1 | 3 | Ready | null | 10/25/2023 |
| IT1 | 4 | Ready | null | 10/25/2023 |
| IT1 | 5 | Ready | null | 10/25/2023 |
| IT1 | 6 | Develop | null | 10/25/2023 |
| IT1 | 7 | Ready | null | 10/25/2023 |
| IT1 | 8 | Ready | null | 10/25/2023 |
| IT1 | 9 | New | null | 10/25/2023 |
| IT1 | 10 | New | null | 10/25/2023 |
| IT1 | 11 | Ready | null | 10/25/2023 |
| IT1 | 12 | Develop | null | 10/25/2023 |
| IT1 | 13 | New | null | 10/25/2023 |
| IT1 | 14 | Ready | null | 10/25/2023 |
| IT1 | 15 | Develop | null | 10/25/2023 |
| IT1 | 16 | Develop | null | 10/25/2023 |
| IT1 | 1 | Develop | null | 10/27/2023 |
| IT1 | 2 | New | null | 10/27/2023 |
| IT1 | 3 | Develop | null | 10/27/2023 |
| IT1 | 4 | New | null | 10/27/2023 |
| IT1 | 5 | Ready | null | 10/27/2023 |
| IT1 | 6 | Develop | null | 10/27/2023 |
| IT1 | 7 | Ready | null | 10/27/2023 |
| IT1 | 9 | Ready | null | 10/27/2023 |
| IT1 | 10 | Develop | null | 10/27/2023 |
| IT1 | 11 | Ready | null | 10/27/2023 |
| IT1 | 21 | Develop | null | 10/27/2023 |
| IT1 | 22 | Done | null | 10/27/2023 |
| IT1 | 23 | Ready | null | 10/27/2023 |
| IT1 | 24 | Ready | null | 10/27/2023 |
| IT1 | 25 | Develop | null | 10/27/2023 |
| IT1 | 26 | Develop | null | 10/27/2023 |
| IT1 | 1 | Closed | 11/2/2023 | 11/3/2023 |
| IT1 | 2 | Develop | null | 11/3/2023 |
| IT1 | 3 | Done | null | 11/3/2023 |
| IT1 | 4 | Develop | null | 11/3/2023 |
| IT1 | 5 | Develop | null | 11/3/2023 |
| IT1 | 6 | Develop | null | 11/3/2023 |
| IT1 | 7 | Ready | null | 11/3/2023 |
| IT1 | 8 | Develop | null | 11/3/2023 |
| IT1 | 9 | Done | null | 11/3/2023 |
| IT1 | 21 | Develop | null | 11/3/2023 |
| IT1 | 22 | Develop | null | 11/3/2023 |
| IT1 | 23 | Develop | null | 11/3/2023 |
| IT1 | 24 | Develop | null | 11/3/2023 |
| IT1 | 25 | Develop | null | 11/3/2023 |
| IT1 | 26 | Closed | 10/30/2023 | 11/3/2023 |
| IT1 | 27 | Develop | null | 11/3/2023 |
| IT1 | 28 | Closed | 11/2/2023 | 11/3/2023 |
| IT1 | 29 | Develop | null | 11/3/2023 |
| IT1 | 1 | Closed | 11/5/2023 | 11/7/2023 |
| IT1 | 2 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 3 | Closed | 11/3/2023 | 11/7/2023 |
| IT1 | 4 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 5 | Closed | 11/1/2023 | 11/7/2023 |
| IT1 | 21 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 22 | Develop | null | 11/7/2023 |
| IT1 | 23 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 24 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 25 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 26 | Closed | 10/30/2023 | 11/7/2023 |
| IT1 | 27 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 28 | Closed | 11/7/2023 | 11/7/2023 |
| IT1 | 29 | Closed | 11/7/2023 | 11/7/2023 |
Table 2:
| Iteration | Start Date | End Date |
| IT1 | 10/25/2023 | 11/7/2023 |
| IT2 | 11/8/2023 | 11/21/2023 |
| IT3 | 11/22/2023 | 12/5/2023 |
| IT4 | 12/6/2023 | 12/19/2023 |
| IT5 | 12/20/2023 | 1/2/2023 |
| IT6 | 1/3/2023 | 1/16/2023 |
bgashok , Please find the measures you need
Task Planned = Sumx(Table2, CountX(filter(Table1, Table1[Iteration] = Table2[Iteration] && Table2[Start Date]= Table1[ calendar Date] && [State] <> "closed"), Table1[ID])) Task Closed = Sumx(Table2, CountX(filter(Table1, Table1[Iteration] = Table2[Iteration] && not(ISBLANK(Table1[Closed Date ])) && Table1[Closed Date ] = Table2[End Date] && Table1[ID] in SUMMARIZE(filter(Table1, Table1[Iteration] = Table2[Iteration] && Table2[Start Date]= Table1[ calendar Date] && [State] <> "closed"), Table1[ID])), Table1[ID]))File attached after signature
3 Replies
- amitchandakSuper User
bgashok , Please find the measures you need
Task Planned = Sumx(Table2, CountX(filter(Table1, Table1[Iteration] = Table2[Iteration] && Table2[Start Date]= Table1[ calendar Date] && [State] <> "closed"), Table1[ID])) Task Closed = Sumx(Table2, CountX(filter(Table1, Table1[Iteration] = Table2[Iteration] && not(ISBLANK(Table1[Closed Date ])) && Table1[Closed Date ] = Table2[End Date] && Table1[ID] in SUMMARIZE(filter(Table1, Table1[Iteration] = Table2[Iteration] && Table2[Start Date]= Table1[ calendar Date] && [State] <> "closed"), Table1[ID])), Table1[ID]))File attached after signature
- AnonymousNot applicable
HI bgashok,
I'd like to suggest you take a look at the following blog start date, end date part to know how to handle with this requirement:
Before You Post, Read This: start, end date
Regards,
Xiaoxin Sheng
- bgashokHelper I
amitchandak thankyou!