Forum Discussion
Anonymous
6 years agoNot applicable
Matrix calculation
Hi All, I dervied matrix table like below. This data contains each month requested, resolved incidents count. from below i need total unresolved incident count on each month . Example During Apri...
Anonymous
6 years agoNot applicable
I may not able load excel(due to security) , my source will be like this
so, i used matrix to get total count for individual requested date and resloved date. if resolved date = null. (Then is unresolved one). Hope this helps
| Num | Requested Date | Resolved Date |
| 528687 | 15 June 2020 | 26/06/2020 14:03 |
| 517722 | 11 May 2020 | 11/05/2020 10:20 |
| 517054 | 15 April 2020 | 15/04/2020 18:13 |
| 495898 | 02 March 2020 | 04/03/2020 11:27 |
| 453542 | 02 December 2019 | 04/12/2019 14:53 |
| 452741 | 04 November 2019 | 04/11/2019 15:26 |
| 426226 | 25 March 2019 | 26/03/2019 17:24 |
| 404603 | 29 January 2019 | 29/01/2019 14:48 |
| 404512 | 25 January 2019 | 28/01/2019 11:51 |
| 362479 | 09 November 2018 | 05/12/2018 10:44 |
| 294174 | 26 March 2018 | 26/03/2018 14:53 |
| 271443 | 08 January 2018 | 10/01/2018 11:31 |
| 271361 | 04 January 2018 | 10/01/2018 11:30 |
| 271361 | 04 January 2018 | null |
Fowmy
Super User
6 years agoAnonymous
Create a Calendar Table and link it to your data table
Create the following Measure to calculate the Unresolved Tickets
Unresolved incidents =
VAR _MonthEnd = MAX(Dates[Date]) RETURN
COUNTROWS(
FILTER(
ALLSELECTED(Incidents),
Incidents[Requested Date] <= _MonthEnd && Incidents[Resolved Date] >= _MonthEnd
)
)________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
- Anonymous6 years agoNot applicable_MonthEnd returns 31 dec 2020, so not able to get count between months. Note : I have ticket January to sep for now