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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
sagarrahul
Creator
Creator

date problem

there is a covernote number & Pol_issue date column and want to get data as in below table i want if pol_issue date is not in order its should gv me its post and pre date of its and also its covernote number .

 

covernote numpol_issue date
11\1\2016
22\1\2016
34\1\2016
43\1\2016
55\1\2016

answer should be liker dis :

 

covernote numpol_issue date
2\1\2016
34\1\2016
6\1\2016

for all data .

pls help in dis as soon as possible as i m new in qlikview .

12 Replies
sagarrahul
Creator
Creator
Author

  hiii there was query i have two data that is covernote number and pol_issue_date

as we see pol_issue_date are in not order .

COVERNOTE_NUMBERPOL_ISSUE_DATE
230215871531-Jul-2014
230215871711-Aug-2014
230215872207-Aug-2014
230215872415-Aug-2014
230215872612-Oct-2014
230215872712-Oct-2014
230215873125-Jul-2014
230215873328-Jul-2014
230215873611-Aug-2014
230215874230-Jul-2014
230215874616-Sep-2014
230215874711-Aug-2014
230215875331-Jul-2014
230215875531-Jul-2014
2302158758
31-Jul-2014

i want i should get dis output when dates are not in proper order or ascending order   .

all the data . i have three yr data and some covernote number .

13-14

14-15

15-16

COVERNOTE_NUMBERPOL_ISSUE_DATE

31-Jul-2014
230215871711-Aug-2014

07-Aug-2014

it can be done by sort -- ascending bt not in this way  .

so pls help me in dis


sagarrahul
Creator
Creator
Author

pls help me as soon as possible

sagarrahul
Creator
Creator
Author

COVERNOTE_NUMBER POL_ISSUE_DATE
230220574123-Oct-2015
230220587118-Dec-2015
2302205871
230220597903-Dec-2015
230220598803-Nov-2015
230220599120-Oct-2015
230220603026-Oct-2015
230220605319-Nov-2015
230220606107-Dec-2015
230220607328-Nov-2015
230220608114-Nov-2015
2302206081
230220608217-Nov-2015
230220610319-Nov-2015
230220618531-Oct-2015
230220621021-Oct-2015
2302206210
230220621120-Oct-2015
230220625707-Nov-2015
230220637114-Oct-2015
230220637420-Oct-2015
230220637831-Oct-2015
230220638124-Oct-2015
230220640731-Oct-2015
230220646308-Dec-2015
230220670428-Oct-2015
230220670522-Oct-2015
230220671604-Nov-2015
2302206716
230220671815-Oct-2015
230220673430-Oct-2015
230220673526-Oct-2015
230220673920-Nov-2015
230220674704-Dec-2015
230220674921-Dec-2015
230220679228-Nov-2015
230220680010-Dec-2015
230220690520-Nov-2015
230220693823-Oct-2015
230220694229-Oct-2015
230220695215-Oct-2015
230220698120-Oct-2015
230220699004-Nov-2015
230220700903-Nov-2015
230220701530-Oct-2015
230220705809-Oct-2015
230220706304-Nov-2015
230220708130-Oct-2015
230220708406-Nov-2015
230220708614-Dec-2015
230220711527-Oct-2015
230220711627-Oct-2015
230220712028-Oct-2015
230220714212-Oct-2015
230220715427-Oct-2015
230220716124-Oct-2015
230220716327-Oct-2015
230220717419-Nov-2015
230220724028-Oct-2015
230220725131-Oct-2015
230220730228-Oct-2015
230220730321-Oct-2015
230220730630-Oct-2015
230220730828-Oct-2015
230220743317-Oct-2015
230220744124-Oct-2015
230220746226-Oct-2015
230220758329-Oct-2015
230220758603-Nov-2015
230220770213-Nov-2015
230220780620-Nov-2015
230220783228-Nov-2015
230220783930-Nov-2015
230220785430-Dec-2015
230220786431-Dec-2015
230220789008-Jan-2016
230220813925-Nov-2015
230220815320-Nov-2015
230220815417-Nov-2015
230220815618-Nov-2015
230220816029-Nov-2015
230220823815-Dec-2015
230220831510-Dec-2015
230220836708-Dec-2015
230220839214-Dec-2015
230220839514-Dec-2015
230220839926-Dec-2015
230220850826-Nov-2015
230220853113-Dec-2015
2302208531
230220855010-Dec-2015
230220861311-Dec-2015
230220880402-Nov-2015
230220887205-Jan-2016
230220909625-Nov-2015
230220923109-Nov-2015
230220924514-Nov-2015
230220925730-Nov-2015
230220928308-Nov-2015
230220929819-Nov-2015
2302209298
230220934803-Dec-2015
230220936925-Nov-2015
230220937919-Nov-2015
230220960229-Nov-2015
230220961010-Dec-2015
230220961827-Dec-2015
230220973109-Nov-2015
230220974124-Oct-2015
230220977131-Dec-2015
230220997924-Dec-2015
230220999816-Dec-2015
230221015430-Nov-2015
230221016117-Nov-2015
230221020105-Nov-2015
230221021207-Nov-2015
230221021726-Nov-2015
230221037131-Dec-2015
230221037429-Dec-2015
230221051621-Nov-2015
230221058917-Nov-2015
230221061202-Dec-2015
230221064916-Dec-2015
230221098624-Dec-2015
2302210986
230221103809-Jan-2016
230221106905-Jan-2016
230221109308-Dec-2015
230221125530-Dec-2015

i m having this table in qlikview application

i am building a rule

rule is :

1) covernote_number should be there .

2) when we see pol_issue_date when date is not in order then it should through its pre date and post date .

output should be in this way

COVERNOTE_NUMBERPOL_ISSUE_DATE
23-Oct-2015
230220587118-Dec-2015
03-Dec-2015
230220598803-Nov-2015
20-Oct-2015

as on till the end column .

help me as soon as possible