Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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 ID | Status | Todays Date | Expected Fix Date | Closed Date | SLA Status |
| 1 | Open | 01/04/2022 | 05/04/2022 | On-Track | |
| 2 | Closed | 01/04/2022 | 06/04/2022 | 29/03/2022 | HIT |
| 3 | Open | 01/04/2022 | 29/03/2022 | Breach | |
| 4 | Closed | 01/04/2022 | 29/03/2022 | 01/04/2022 | MISS |
Cheers
Dan
Solved! Go to Solution.
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"
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 😄
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 5 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 13 | |
| 10 | |
| 10 |