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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not 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 April month end(Marked red) total  8+9+7+6+5 were un resolved incident count. So i need formula calulcate for open incidents (un resolved) on each l month end.

 JanuaryFebruaryMarch AprilMayJuneJulyAugustSeptemberoctoberunresolvedRequested
January2023  7     32
February 30 8 9    552
March   40 3  7  656
April   20 8 9  744
May    30 98  855
June     40    949
July      2078 1045
August       30  1141
September        404 44
             
Resolved203243283364296148456 

 

 

6 REPLIES 6
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you pls advise me how to arrive at the result of the data in matrix with your sample data?

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Anonymous
Not applicable

Rows = Requested month

Column= Resolved month

Value = count of rows

Fowmy
Super User
Super User

@Anonymous 

Can you share the source date of this Matrix? 
You can paste the data from Excel with your rely or save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.
____________________________________
How to paste sample data with your question?
How to get your questions answered quickly?

_____________________________________
Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not 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

 

NumRequested DateResolved Date
52868715 June 202026/06/2020 14:03
51772211 May 202011/05/2020 10:20
51705415 April 202015/04/2020 18:13
49589802 March 202004/03/2020 11:27
45354202 December 201904/12/2019 14:53
45274104 November 201904/11/2019 15:26
42622625 March 201926/03/2019 17:24
40460329 January 201929/01/2019 14:48
40451225 January 201928/01/2019 11:51
36247909 November 201805/12/2018 10:44
29417426 March 201826/03/2018 14:53
27144308 January 201810/01/2018 11:31
27136104 January 201810/01/2018 11:30
27136104 January 2018null

@Anonymous 

Create a Calendar Table and link it to your data table

Fowmy_0-1602273302499.png


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 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

_MonthEnd returns 31 dec 2020, so not able to get count between months.  Note : I have ticket January to sep for now

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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