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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
xarapre7
Creator II
Creator II

Prior repair tech within specific no. of days

I have list of SN (serial numbers) and TECH (Technician) with COMPLETED DATE and Within 90 Day Flag. I need a script that will show the previous repair's TECH as long as it's within 90 days (based on the Within 90 Days flag).  Can you please help? 

      

SNCompleted DateTechWithin 90 DaysPrevious Tech w/in 90 DaysComments
12301/01/16Smith, BradNBlankNo previous repair
12302/01/16Lee, JohnYSmith, BradThere's a previous repair w/in 90 days
12303/01/16Yi, OscarYLee, JohnThere's a previous repair w/in 90 days
23401/01/16Dole, EdwardNBlankNo previous repair
23403/01/16Reed, Lee-AnneYDole, EdwardThere's a previous repair w/in 90 days
34501/01/16Ti, LuanNBlankNo previous repair
34502/01/16Dean, TyronYTi, LuanThere's a previous repair w/in 90 days
34502/15/16Akran, JamesYDean, TyronThere's a previous repair w/in 90 days
34506/08/16Ferran, JosephNBlankThis should be blank because this didn't fall within 90 days from previous repair
1 Solution

Accepted Solutions
sinanozdemir
Specialist III
Specialist III

Hi,

Here is the script that does it:

Capture.PNG

Capture.PNG

I am also attaching the qvw.

Thanks

View solution in original post

3 Replies
sinanozdemir
Specialist III
Specialist III

Hi,

Here is the script that does it:

Capture.PNG

Capture.PNG

I am also attaching the qvw.

Thanks

xarapre7
Creator II
Creator II
Author

Exactly what i need. Thank you very much for the help!

sinanozdemir
Specialist III
Specialist III

No problem.