Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate a Service Level Agreement

Dears.

I need help to find the way to calculate if some service level agreement were fulfilled in order to control my telecommunication project, i have three diferent tables in a excel sheet.

The first table call, Table1.xls contain (Is only an example the table have data fo more than 10000 registers):

TipoCombSitioA
AlarmTSLA(min)
ASINONOAC180
ASISISIAC180
BNOSINOAC540
ASISISIDC120

The Second Table call Table2.xls contain (Is only an example the table have data fo more than 10000 registers):

SiteIDInitial DateInitial TimeSolution DateSolution TimeTicket NumberCategory
164525-Oct-201500:0025-Oct-201517:000001AC
165723-Oct-201510:2024-Oct-201501:000002DC
164825-Oct-201500:3619-Nov-201507:000003AA
162710-Oct-201512:5625-Oct-201513:560004AC

and The third table call Table 3.xls contain(Is only an example the table have data fo more than 10000 registers):

Asset NumberTipoCombSitio
1645ASINONO
1657ASISISI
1648BNOSINO
1627ASISISI

According to the tables my idea is detect if all the tickets in the table two fulfill or not the SLA that is related in the table 1, for that i think in something like this, IF TipoCombSitioA from the table 1 is equal to the TipoCombSitio from table 3 and Category from the table 3 is equal to Alarm in the Table1, then take Solution Date and Solution Time and  Initial Date and Initial Time and substract them in order to obtain the duration time in minutes, and if this result is higher than TSLA in table 1 create an new field in the database that said NOT FULFILL or FULFILL if is minor.

In the tables example, the first register must say NOT Fulfill because the SLA is 180Min and the duration time was 1020min

Really apreciate your help if is possible to do this.

0 Replies