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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DanielHolland
Frequent Visitor

SLA Status on Power BI Report

Hi All, 

 

Im looking for Power Query formula to work out the "SLA Status" of My IT Tickets. 

 

Here is a Table im Working with and im looking to populate the "SLA Status" field Based on "Status", Todays date", "Expected Fix Date", "Closed Date" 

 

Is this Possible? Im then going to Display this in a Pie. which is traight forward.

 

Ticket IDStatusTodays DateExpected Fix DateClosed DateSLA Status
1Open01/04/202205/04/2022 On-Track
2Closed01/04/202206/04/202229/03/2022HIT
3Open01/04/202229/03/2022 Breach
4Closed01/04/202229/03/202201/04/2022MISS

 

Cheers 

 

Dan

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Below is the formula

= if [Status]="Closed" and [Closed Date]>[Expected Fix Date] then "MISS" 
else if  [Status]="Closed" and [Closed Date]<=[Expected Fix Date] then "HIT" 
else if [Status]="Open" and [Expected Fix Date]>=[Todays Date] then "On-Track"
else "Breach"

View solution in original post

2 REPLIES 2
Vijay_A_Verma
Super User
Super User

Below is the formula

= if [Status]="Closed" and [Closed Date]>[Expected Fix Date] then "MISS" 
else if  [Status]="Closed" and [Closed Date]<=[Expected Fix Date] then "HIT" 
else if [Status]="Open" and [Expected Fix Date]>=[Todays Date] then "On-Track"
else "Breach"

Thank you! Worked a treat 😄 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.