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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
seunao
Regular Visitor

Calculation to determine SLA, inscident

 

I have to create a SLA measure for % INC resolved same day

 

For the formula to be valid

Opened date and resolved date have to be equal

 

Formula used in ServiceNow is:

% INC resolved same day: ([[Number of incidents resolved on the same day opened / 30d running AVG]]/[[Number of resolved incidents / 30d running AVG]])*100

 

Number of incidents resolved on the same day opened = opened date is equal to the resolved date

 

Total Number of resolved incidents

 

 

Incident number

Opened Date

Opened Time

Resolved Date

Resolved Time

Inc01

01/12/2020

00:32:14

01/12/2020

02:59:18

Inc02

01/12/2020

08:31:32

01/12/2020

08:40:39

Inc03

01/12/2020

23:41:23

30/12/2020

23:43:48

Inc04

02/12/2020

03:46:39

03/01/2020

03:49:24

Inc05

02/12/2020

22:58:01

05/01/2020

23:00:56

 

thanks for your help in advance. 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@seunao , Try to join both dates Open date and resolved date with a date column of date table. Make sure the Open date is active join. and other one is inactive and activated in a measure using userelationship

 

resolved on same date

calculate(count(Table[Incident number]), filter(Table , Table[Opened Date] = Table[Resolved Date] ))

 

For other and steps refer https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@seunao , Try to join both dates Open date and resolved date with a date column of date table. Make sure the Open date is active join. and other one is inactive and activated in a measure using userelationship

 

resolved on same date

calculate(count(Table[Incident number]), filter(Table , Table[Opened Date] = Table[Resolved Date] ))

 

For other and steps refer https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.