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
pswain
Helper I
Helper I

How can we SLA reports using Service Now data

Hi all,

 

How can I create SLA reports using the below data. 

 

I need to calculate opened and resolved state difference in Power BI , How it can be acheieved  ? ex: opened -closed = x

 

Please @mention me if you need more information 

 

pswain_0-1603099905156.png

 

Regards,

Prasanjit

 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Opened and closed entries are left aligned so they look like text entries.  Ensure that they are proper date/time entries.  Once they are, this calculated column formula should work

=[closed_at]-[opened_at]

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@pswain < not very clear

you can have a column

datediff([opened_at],[closed_at] ,hour) //it can minute, day anything you want

 

you can compare

if( datediff([opened_at],[closed_at] ,hour)<=2,1,0) //change as per need

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.