Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

SLA find out

NumberRequested DateSeverityResolved
17927010/02/2015 16:005
17926010/02/2015 14:382
17925810/02/2015 14:175
17925510/02/2015 13:495
17925410/02/2015 13:45510/02/2015 13:55
17924110/02/2015 11:535
17923510/02/2015 11:06110/02/2015 11:08
17922310/02/2015 09:25310/02/2015 09:58
17922210/02/2015 09:135
17921910/02/2015 09:05310/02/2015 09:12
17920610/02/2015 04:375
17920009/02/2015 17:014

From the above list I want to find those records which missed the SLA

We need to consider the below condition-

1.

Severity 1 should be resolved within 3 hours

Severity 2 should be resolved within 5 hours

Severity 3 should be resolved within 3 business days

Severity 4 should be resolved within 5 business days

Severity 5 - No SLA

2.

Business timing should start from 9AM and end - 17PM

3.

Sat sunday are off day

4.

Need to follow holiday-1st may , 25th Dec

5.

If SLA fails then records should mark in RED

6.

If resolved date is null then mark it todays date.

     Please help

24 Replies
Not applicable
Author

Well, I have taken two variables for start and end time. Can you please paste the example or qvw and exactly how it is violating that business timing?

Thanks,

Abhishek

Not applicable
Author

I assume you are using chart, where you don't need to change anything. Moreover, I am using .csv file as source. Are you using xls? An XL sheet has its own formatting structure, if you are using it as source.

Thanks!

Anonymous
Not applicable
Author

I have attached one xls file.

Many thanks again.

Not applicable
Author

a quick question..I think all the dates in your xls is in MM/DD/YYYY format ( and not in DD/MM/YYYY format), please confirm??? Because in my script I took them as DD/MM/YYYY.

Anonymous
Not applicable
Author

DD/MM/YYYY format.

Not applicable
Author

For Dates that are shown in numbers/decimals, please go to chart->dimension. Click on respective dimension and then at Edit button.

For Request date use: timestamp(num#(RequestDate))

For Resolve date use: if(Index(ResolveDate,'.')>0,Timestamp(Num#(ResolveDate)),ResolveDate)

Please note that all this is done in chart and not in the script.

Hope that helps..

Thanks!

Anonymous
Not applicable
Author

Many thanks I will check and let you know.

Anonymous
Not applicable
Author

The request date and resolve date is working fine.

Comepletiontimeindetails is not giving me the result.

Please help me on that.

Not applicable
Author

What is that in result that you expected from CompleteTimeInDetail?

Anonymous
Not applicable
Author

Time differnece not showing

I want to display <>hour <>minutes