Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Team,
I've two tables . one table is Incidents and another one : SLA Duration table
Need to calculate whether incident is WithInSLA or OutOfSLA
SLA Table
| Time to Acknowledge | No | SupportHours | 90 | |
| Time to Mitigate | No | 0 | SupportHours | 360 |
| Time to Mitigate | No | 1 | SupportHours | 360 |
| Time to Mitigate | No | 2 | SupportHours | 480 |
| Time to Mitigate | No | 3 | SupportHours | 4320 |
| Time to Mitigate | No | 4 | SupportHours | 4320 |
| Time to Resolve | No | 0 | SupportHours | 7200 |
| Time to Resolve | No | 1 | SupportHours | 7200 |
| Time to Resolve | No | 2 | SupportHours | 7200 |
For Example: -- This Duration needs to be passed from sla Duration table based on severity && KPI= TimeToMitigate && severiry 0,1 && Value =Duration i.e,360
Calculated Column has been written in the attached pbix file :
Thanks,
Tarak
Solved! Go to Solution.
Hi @Tarak_G ,
Not quite sure whether I have caught your point,you said :Need to Pass value from table based on severity and Kpi= TimetoMitigate,do you wanna create a column to get the value returned from "SLA Table"?
Then you could create a column as below:
_Duration = CALCULATE(MAX('SLATime'[Duration]),FILTER('SLATime','SLATime'[Severity]='Incidents'[Severity]&&'SLATime'[KPI]="Time to Mitigate"))
And you will see:
If I misunderstood your meaning,pls let me know.
For the related .pbix file ,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi @Tarak_G ,
Not quite sure whether I have caught your point,you said :Need to Pass value from table based on severity and Kpi= TimetoMitigate,do you wanna create a column to get the value returned from "SLA Table"?
Then you could create a column as below:
_Duration = CALCULATE(MAX('SLATime'[Duration]),FILTER('SLATime','SLATime'[Severity]='Incidents'[Severity]&&'SLATime'[KPI]="Time to Mitigate"))
And you will see:
If I misunderstood your meaning,pls let me know.
For the related .pbix file ,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@Tarak_G , what do mean by query here?
a measure or a new column in another table?
Copy value from one table to another - https://www.youtube.com/watch?v=czNHt7UXIe8
Hi @amitchandak ,
Here query means calculated column and attched pbix file. I tried with lookupvalue but i was not able to get it. Can you help me on that ?
@Tarak_G , Still not clear, But a new column like this in Incident table
Column = SWITCH(TRUE(), ISBLANK([TTM]) , "Not Done" ,[TTM] > maxx(FILTER(SLATime, SLATime[KPI] ="Time to Mitigate" && SLATime[Severity] = Incidents[Severity] ),SLATime[Duration]), "Out of SLA", "In SLA")
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 |
|---|---|
| 97 | |
| 73 | |
| 50 | |
| 47 | |
| 44 |