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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.