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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.