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
xerikx
Regular Visitor

Accumulated Sla Breached

Please could someone help me to elaborate the table to calculate the accumulated, I have no idea how I could do it or how to approach it

 

My Data

xerikx_0-1641914278417.png

 

I want to make this table or graph

 

MonthCount Ticket SLA breachedI do not need this column, I am putting it so that you can understand the calculation
Ene-21  0Id01 was created in January but breached SLA from February to July (expected resolution date to resolved date)
Feb-21  1Because id01 breached sla until resolved date (25/07), id02 was created but it just broke in March
Mar-21  2Because id01 breached sla until resolved date ( 25/07 ) and id02 breached sla until resolved date (20/05)
Abr-21  2Because id01 breached sla until resolved date ( 25/07 ) and id02 breached sla until resolved date (20/05)
May-21  2Because id01 breached sla until resolved date ( 25/07 ) and id02 breached sla until resolved date (20/05)
Jun-21  1Because id01 breached sla until resolved date ( 25/07 )
Jul-21  1Because id01 breached sla until resolved date ( 25/07 )
Ago-21  0 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Count Tickets SLA Breached = CALCULATE(COUNTROWS('Table'),'Table'[Resolved Date]>Min(Dates[Date]),'Table'[Created Date]<Max(Dates[Date])-25)

See attached. This also works on day level granularity.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

Count Tickets SLA Breached = CALCULATE(COUNTROWS('Table'),'Table'[Resolved Date]>Min(Dates[Date]),'Table'[Created Date]<Max(Dates[Date])-25)

See attached. This also works on day level granularity.

Excellent solution, another question how can i show the ID for each month?

Slicer Month: Selected Mar-21

Result Table:

Id      Created
id01    10/01/21
id02    11/02/21

Those data points do not depend on the slicer. Create a separate table visual that has only Id and Created columns.

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.