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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Cypher294
Frequent Visitor

Priority Based SLA Calculation

HI,

 

I've got a question about a combined statement

 

In my source data we have the ticket information "priority" and runtime in hours.

Now I've want to create a statement about a SLA breach status.

 

In my example the SLA values would be

 

Priority Very High - 4 Hours

Priorty High - 6 Hours

Priority Medium - 10 hours

Priority Low - 20 hours

 

Depending on the value of " Ticket runtime in hours" and the "priority" of the ticket the Column " SLA State" needs to be set to " SLA OK" or "SLA Violated" if the " Ticket Runtime in hours" is equal or higher then the values explained before the state needs to be set to " SLA Violated" otherwise it needs to be set to " SLA OK.

 

1.JPG

 

Thanks for help

 

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Cypher294,

 

Suppose you have such a table to list SLA values.

1.PNG

 

Then, in data table, create a calculated column.

SLA STATE =
IF (
    Table_1[Ticket Runtime in hours]
        >= LOOKUPVALUE ( Table_2[Runtime], Table_2[Proority], Table_1[Priority] ),
    "SLA Violated",
    "SLA OK"
)

2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Cypher294,

 

Suppose you have such a table to list SLA values.

1.PNG

 

Then, in data table, create a calculated column.

SLA STATE =
IF (
    Table_1[Ticket Runtime in hours]
        >= LOOKUPVALUE ( Table_2[Runtime], Table_2[Proority], Table_1[Priority] ),
    "SLA Violated",
    "SLA OK"
)

2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank You 🙂

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors